]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix lease issue mask
authorSage Weil <sage@newdream.net>
Fri, 23 Jul 2010 22:14:43 +0000 (15:14 -0700)
committerSage Weil <sage@newdream.net>
Fri, 23 Jul 2010 22:50:34 +0000 (15:50 -0700)
commit34957ff36b5b633e5d84a7eee09c440bc4a3c579
tree81ab4bc57b6935dd2933299394dbc0aa591ae056
parent15abbfbe5c06a35ac8b8d6408a77bb6267b259f6
mds: fix lease issue mask

We define 1 to be the only lease "mask" we currently support (for dentry)
and divorce ourselves from the CEPH_LOCK namespace for this purpose.  We
did this in c8d7c970e864e9f130b7c44b29c322771067026e, but screwed up the
issue function.  Fix the caller, and pay attention to @mask here.

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