]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix xlock_finish do_issue checks
authorSage Weil <sage@newdream.net>
Thu, 9 Jun 2011 21:52:55 +0000 (14:52 -0700)
committerSage Weil <sage@newdream.net>
Thu, 9 Jun 2011 23:14:03 +0000 (16:14 -0700)
commit96f01b03c0bff114b0bcd29e77037a300cff95fd
tree689ebe42c9869c790de5b2044942b5843a8b7f2f
parent7c0ae24713434352c6f57e88dbff5e8871b57f93
mds: fix xlock_finish do_issue checks

Should default to false, and only get set to true if there are caps for
this lock.  Among other things this means we don't set it for dentry
locks (which have no caps).

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/Locker.cc