diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-20 02:28:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-20 13:26:40 -0400 |
commit | 7111c66e4e70588c9602035a4996c9cdc2087d2d (patch) | |
tree | 1fbd19547470c9d776c6e34a547eb181b5d4fe5f /fs/nfsd/nfs4proc.c | |
parent | cc45f0175088e000ac7493e5e3f05579b6f7d240 (diff) |
[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>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index d1fac6872c44..795ad6c5cb2c 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
@@ -715,7 +715,7 @@ out_kfree: | |||
715 | /* | 715 | /* |
716 | * NULL call. | 716 | * NULL call. |
717 | */ | 717 | */ |
718 | static int | 718 | static __be32 |
719 | nfsd4_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) | 719 | nfsd4_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) |
720 | { | 720 | { |
721 | return nfs_ok; | 721 | return nfs_ok; |
@@ -731,7 +731,7 @@ static inline void nfsd4_increment_op_stats(u32 opnum) | |||
731 | /* | 731 | /* |
732 | * COMPOUND call. | 732 | * COMPOUND call. |
733 | */ | 733 | */ |
734 | static int | 734 | static __be32 |
735 | nfsd4_proc_compound(struct svc_rqst *rqstp, | 735 | nfsd4_proc_compound(struct svc_rqst *rqstp, |
736 | struct nfsd4_compoundargs *args, | 736 | struct nfsd4_compoundargs *args, |
737 | struct nfsd4_compoundres *resp) | 737 | struct nfsd4_compoundres *resp) |