]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix file_eval on subtree roots
authorSage Weil <sage.weil@dreamhost.com>
Mon, 11 Apr 2011 17:14:21 +0000 (10:14 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 12 Apr 2011 04:09:24 +0000 (21:09 -0700)
commitfb8c09b0d7f90fb000494509aeacf79e84443f58
treedc2c18ee2385067cd184a33ee9becedbfda07eb1
parent1f23a2299230110ca53e4a96633c4ed3da2e1509
mds: fix file_eval on subtree roots

We were going from mix->sync when we shouldn't.  Fix mis-coded filelock
and look at _lock_ state, not inode's!

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/mds/Locker.cc