Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f453ed6 authored by Randy Dunlap's avatar Randy Dunlap Committed by Sage Weil
Browse files

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarYehuda Sadeh <yehuda@hq.newdream.net>
parent f4cf3dee
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -12,9 +12,10 @@
#include <linux/ceph/auth.h>
#include <linux/ceph/auth.h>
#include <linux/ceph/debugfs.h>
#include <linux/ceph/debugfs.h>


#include "super.h"

#ifdef CONFIG_DEBUG_FS
#ifdef CONFIG_DEBUG_FS


#include "super.h"
#include "mds_client.h"
#include "mds_client.h"


static int mdsmap_show(struct seq_file *s, void *p)
static int mdsmap_show(struct seq_file *s, void *p)