NFSv4: really return status from decode_recall_args()
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 26 May 2006 23:31:12 +0000 (03:31 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Jun 2006 13:34:12 +0000 (09:34 -0400)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback_xdr.c

index 05c38cf40b69f90577cc333b5c8c9c0cafaf87a9..c92991328d9a157bd503ed77fd0f4e2f71fbf29d 100644 (file)
@@ -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)