summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback_xdr.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-05-27 03:31:12 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:34:12 -0400
commit3873bc50e2271504da45799257f69222774d9550 (patch)
tree0a79d0364b896b469db2ef520048fe380727e25f /fs/nfs/callback_xdr.c
parent4814f56d19137b3b9fa8e00e1d332b3683b950de (diff)
downloadlinux-3873bc50e2271504da45799257f69222774d9550.tar.gz
linux-3873bc50e2271504da45799257f69222774d9550.tar.bz2
linux-3873bc50e2271504da45799257f69222774d9550.zip
NFSv4: really return status from decode_recall_args()
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
-rw-r--r--fs/nfs/callback_xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c
index 05c38cf40b69..c92991328d9a 100644
--- a/fs/nfs/callback_xdr.c
+++ b/fs/nfs/callback_xdr.c
@@ -202,7 +202,7 @@ static unsigned decode_recall_args(struct svc_rqst *rqstp, struct xdr_stream *xd
status = decode_fh(xdr, &args->fh);
out:
dprintk("%s: exit with status = %d\n", __FUNCTION__, status);
- return 0;
+ return status;
}
static unsigned encode_string(struct xdr_stream *xdr, unsigned int len, const char *str)