ceph: fix debugfs warnings
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 28 Sep 2010 16:53:10 +0000 (09:53 -0700)
committerSage Weil <sage@newdream.net>
Wed, 20 Oct 2010 22:38:21 +0000 (15:38 -0700)
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 <randy.dunlap@oracle.com>
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
fs/ceph/debugfs.c

index 94fe1d2..7ae1b3d 100644 (file)
 #include <linux/ceph/auth.h>
 #include <linux/ceph/debugfs.h>
 
+#include "super.h"
+
 #ifdef CONFIG_DEBUG_FS
 
-#include "super.h"
 #include "mds_client.h"
 
 static int mdsmap_show(struct seq_file *s, void *p)