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

Commit 0db184bc authored by Sandeep Jain's avatar Sandeep Jain Committed by Greg Kroah-Hartman
Browse files

staging: lustre: Fix function declaration/definition mismatch



Fixes following Sparse errors.
lprocfs_status.c:1568:5: error: symbol 'lprocfs_wr_root_squash' redeclared with different type...
lprocfs_status.c:1632:5: error: symbol 'lprocfs_wr_nosquash_nids' redeclared with different type...

Signed-off-by: default avatarSandeep Jain <sandeepjain.linux@gmail.com>
Acked-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8efea9e9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -703,9 +703,9 @@ static struct lustre_attr lustre_attr_##name = __ATTR(name, mode, show, store)
extern const struct sysfs_ops lustre_sysfs_ops;

struct root_squash_info;
int lprocfs_wr_root_squash(const char *buffer, unsigned long count,
int lprocfs_wr_root_squash(const char __user *buffer, unsigned long count,
			   struct root_squash_info *squash, char *name);
int lprocfs_wr_nosquash_nids(const char *buffer, unsigned long count,
int lprocfs_wr_nosquash_nids(const char __user *buffer, unsigned long count,
			     struct root_squash_info *squash, char *name);

/* all quota proc functions */