summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-07-07 18:06:08 +0200
committerSage Weil <sage@newdream.net>2010-08-02 05:11:41 +0200
commit6a2593823ababdada2636398ac190931517b51cf (patch)
tree7557b08cc90aa0d2c70ea5b0e6b22ff64a4c235d /fs/ceph/super.h
parentceph: clean up fsid mount option (diff)
downloadlinux-6a2593823ababdada2636398ac190931517b51cf.tar.xz
linux-6a2593823ababdada2636398ac190931517b51cf.zip
ceph: specify supported features in super.h
Specify the supported/required feature bits in super.h client code instead of using the definitions from the shared kernel/userspace headers (which will go away shortly). Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 8ceb62380d3f..af62081a9535 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -31,6 +31,12 @@
#define CEPH_BLOCK (1 << CEPH_BLOCK_SHIFT)
/*
+ * Supported features
+ */
+#define CEPH_FEATURE_SUPPORTED CEPH_FEATURE_NOSRCADDR
+#define CEPH_FEATURE_REQUIRED CEPH_FEATURE_NOSRCADDR
+
+/*
* mount options
*/
#define CEPH_OPT_FSID (1<<0)