aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/ceph_fs.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-07-07 08:39:03 -0700
committerSage Weil <sage@newdream.net>2010-08-01 20:11:42 -0700
commitf0b18d9f22ea4e50955945661b7e165a47705249 (patch)
tree736393b3c0ba0d7e983f06882e31acd61cb75c44 /fs/ceph/ceph_fs.h
parentceph: clean up header guards (diff)
downloadlinux-dev-f0b18d9f22ea4e50955945661b7e165a47705249.tar.xz
linux-dev-f0b18d9f22ea4e50955945661b7e165a47705249.zip
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 663ff9021111..bf7dea673237 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 */