]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix MDLog error handling on ENOENT
authorJohn Spray <john.spray@redhat.com>
Wed, 20 May 2015 15:40:04 +0000 (16:40 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 18 Jun 2015 10:19:44 +0000 (11:19 +0100)
commit1165373e8869d2b78c5aef2c1bec9f8869c4e85a
tree597693e0d5c36f1bed08fa7e61957d926634e5d3
parente9642077722c8ac5030cbe5efbcc32aa992cc4e6
mds: fix MDLog error handling on ENOENT

This was trying to check for standby replay
by testing is_readonly(), but that's always
true during normal replay.  Check mds->is_standby_replay()
instead.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDLog.cc