Skip to content

Commit

Permalink
ceph: fix debugfs warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Sage Weil committed Oct 20, 2010
1 parent f4cf3de commit 6f453ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/ceph/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
#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)
Expand Down

0 comments on commit 6f453ed

Please sign in to comment.