summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-11-13 00:05:52 +0100
committerSage Weil <sage@newdream.net>2009-11-13 00:56:51 +0100
commit039934b895c89c2bb40aa5132efe00e60b70efca (patch)
treecb29a509f2fcf6423191beb8b6aec6e20b89ee14 /fs/ceph/super.h
parentceph: pr_info when mds reconnect completes (diff)
downloadlinux-039934b895c89c2bb40aa5132efe00e60b70efca.tar.xz
linux-039934b895c89c2bb40aa5132efe00e60b70efca.zip
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 06b62c02f513..8aa1ffba6c0d 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;