aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/ceph_fs.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-07-07 11:39:03 -0400
committerSage Weil <sage@newdream.net>2010-08-01 23:11:42 -0400
commitf0b18d9f22ea4e50955945661b7e165a47705249 (patch)
tree736393b3c0ba0d7e983f06882e31acd61cb75c44 /fs/ceph/ceph_fs.h
parent5cd068c200795537fd78c423254389c8a07e2d20 (diff)
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);
253#define CEPH_LOCK_IDFT 512 /* dir frag tree */ 253#define CEPH_LOCK_IDFT 512 /* dir frag tree */
254#define CEPH_LOCK_INEST 1024 /* mds internal */ 254#define CEPH_LOCK_INEST 1024 /* mds internal */
255#define CEPH_LOCK_IXATTR 2048 255#define CEPH_LOCK_IXATTR 2048
256#define CEPH_LOCK_IFLOCK 4096 /* advisory file locks */
256#define CEPH_LOCK_INO 8192 /* immutable inode bits; not a lock */ 257#define CEPH_LOCK_INO 8192 /* immutable inode bits; not a lock */
257 258
258/* client_session ops */ 259/* client_session ops */