summaryrefslogtreecommitdiff
path: root/fs/ceph/ceph_fs.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-07-07 15:39:03 (GMT)
committerSage Weil <sage@newdream.net>2010-08-02 03:11:42 (GMT)
commitf0b18d9f22ea4e50955945661b7e165a47705249 (patch)
tree736393b3c0ba0d7e983f06882e31acd61cb75c44 /fs/ceph/ceph_fs.h
parent5cd068c200795537fd78c423254389c8a07e2d20 (diff)
downloadlinux-f0b18d9f22ea4e50955945661b7e165a47705249.tar.xz
ceph: sync header defs with server code
Define ROLLBACK op, IFLOCK inode lock (for advisory file locking). Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/ceph_fs.h')
-rw-r--r--fs/ceph/ceph_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/ceph_fs.h b/fs/ceph/ceph_fs.h
index 663ff90..bf7dea6 100644
--- a/fs/ceph/ceph_fs.h
+++ b/fs/ceph/ceph_fs.h
@@ -253,6 +253,7 @@ extern const char *ceph_mds_state_name(int s);
#define CEPH_LOCK_IDFT 512 /* dir frag tree */
#define CEPH_LOCK_INEST 1024 /* mds internal */
#define CEPH_LOCK_IXATTR 2048
+#define CEPH_LOCK_IFLOCK 4096 /* advisory file locks */
#define CEPH_LOCK_INO 8192 /* immutable inode bits; not a lock */
/* client_session ops */