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: Sandeep Jain <sandeepjain.linux@gmail.com> Acked-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
8efea9e9b7
Коммит
0db184bc25
|
@ -703,9 +703,9 @@ static struct lustre_attr lustre_attr_##name = __ATTR(name, mode, show, store)
|
||||||
extern const struct sysfs_ops lustre_sysfs_ops;
|
extern const struct sysfs_ops lustre_sysfs_ops;
|
||||||
|
|
||||||
struct root_squash_info;
|
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);
|
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);
|
struct root_squash_info *squash, char *name);
|
||||||
|
|
||||||
/* all quota proc functions */
|
/* all quota proc functions */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче