ceph: make lease code DN specific
authorSage Weil <sage@newdream.net>
Tue, 25 May 2010 23:45:25 +0000 (16:45 -0700)
committerSage Weil <sage@newdream.net>
Sat, 29 May 2010 16:12:42 +0000 (09:12 -0700)
commitdd1c9057366f329911180e9000e2b425f23fc287
tree719ad55ef41a86aaa98419ade71b005306456ed6
parent7e34bc524ecae3a04d8cc427ee76ddad826a937b
ceph: make lease code DN specific

The lease code includes a mask in the CEPH_LOCK_* namespace, but that
namespace is changing, and only one mask (formerly _DN == 1) is used, so
hard code for that value for now.

If we ever extend this code to handle leases over different data types we
can extend it accordingly.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/ceph_fs.h
fs/ceph/mds_client.c