summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-11-12 15:05:52 -0800
committerSage Weil <sage@newdream.net>2009-11-12 15:56:51 -0800
commit039934b895c89c2bb40aa5132efe00e60b70efca (patch)
treecb29a509f2fcf6423191beb8b6aec6e20b89ee14 /fs/ceph/super.h
parentfef320ff8887c702cde7ca6b8dbfff3a341d49fe (diff)
downloadop-kernel-dev-039934b895c89c2bb40aa5132efe00e60b70efca.zip
op-kernel-dev-039934b895c89c2bb40aa5132efe00e60b70efca.tar.gz
ceph: build cleanly without CONFIG_DEBUG_FS
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 06b62c02..8aa1ffb 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -112,9 +112,11 @@ static inline unsigned long time_sub(unsigned long a, unsigned long b)
*/
struct ceph_client {
__s64 whoami; /* my client number */
+#ifdef CONFIG_DEBUG_FS
struct dentry *debugfs_monmap;
struct dentry *debugfs_mdsmap, *debugfs_osdmap;
struct dentry *debugfs_dir, *debugfs_dentry_lru, *debugfs_caps;
+#endif
struct mutex mount_mutex; /* serialize mount attempts */
struct ceph_mount_args *mount_args;
OpenPOWER on IntegriCloud