From: Randy Dunlap Date: Tue, 28 Sep 2010 16:53:10 +0000 (-0700) Subject: ceph: fix debugfs warnings X-Git-Tag: v2.6.37-rc1~221^2~7 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=6f453ed6c07dbed83b368269c9c0fb170866ee71;p=~shefty%2Frdma-dev.git ceph: fix debugfs warnings Include "super.h" outside of CONFIG_DEBUG_FS to eliminate a compiler warning: fs/ceph/debugfs.c:266: warning: 'struct ceph_fs_client' declared inside parameter list fs/ceph/debugfs.c:266: warning: its scope is only this definition or declaration, which is probably not what you want fs/ceph/debugfs.c:271: warning: 'struct ceph_fs_client' declared inside parameter list Signed-off-by: Randy Dunlap Signed-off-by: Yehuda Sadeh --- diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c index 94fe1d284c3..7ae1b3d55b5 100644 --- a/fs/ceph/debugfs.c +++ b/fs/ceph/debugfs.c @@ -12,9 +12,10 @@ #include #include +#include "super.h" + #ifdef CONFIG_DEBUG_FS -#include "super.h" #include "mds_client.h" static int mdsmap_show(struct seq_file *s, void *p)