]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: remove "type != CEPH_LOCK_DN" check in Locker::cancel_locking()
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 17 Jul 2013 03:09:35 +0000 (11:09 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Mon, 5 Aug 2013 03:09:07 +0000 (11:09 +0800)
commit63a21b41340a236a258e9ae82a823c24c30cf0dd
tree842bb5be298ecfefc2db76fc2839a7a71d93a24c
parent3c3b2ceb03e7294704f5bf3e1e420012a0166585
mds: remove "type != CEPH_LOCK_DN" check in Locker::cancel_locking()

For acquiring/cancelling xlock, the lock state transitions for
dentry lock and other types of locks are the same. So I think
the "type != CEPH_LOCK_DN" check doesn't make sense.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/Locker.cc