]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix simplelock cap check
authorSage Weil <sage@newdream.net>
Wed, 14 Jan 2009 19:23:16 +0000 (11:23 -0800)
committerSage Weil <sage@newdream.net>
Wed, 14 Jan 2009 19:23:16 +0000 (11:23 -0800)
commit05f6554e29a6938408eb0100354af06e3599d503
tree8462fb8f0cbf8481ae06232012fd8970307dc1e3
parente73f7359c3ae72cb915f32c0db55a7aca43ee3a8
mds: fix simplelock cap check

Only check caps if there is a cap_shift.. this replaces the
type != CEPH_LOCK_DN special case (no cap shift will be
defined if it's not on an inode).
src/mds/Locker.cc