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)
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

Simple merge
Simple merge