[PATCH] fix svc_procfunc declaration
svc_procfunc instances return __be32, not int Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no> Acked-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@ -715,7 +715,7 @@ out_kfree:
|
||||
/*
|
||||
* NULL call.
|
||||
*/
|
||||
static int
|
||||
static __be32
|
||||
nfsd4_proc_null(struct svc_rqst *rqstp, void *argp, void *resp)
|
||||
{
|
||||
return nfs_ok;
|
||||
@ -731,7 +731,7 @@ static inline void nfsd4_increment_op_stats(u32 opnum)
|
||||
/*
|
||||
* COMPOUND call.
|
||||
*/
|
||||
static int
|
||||
static __be32
|
||||
nfsd4_proc_compound(struct svc_rqst *rqstp,
|
||||
struct nfsd4_compoundargs *args,
|
||||
struct nfsd4_compoundres *resp)
|
||||
|
Reference in New Issue
Block a user