Kaynağa Gözat

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>
Alexey Dobriyan 19 yıl önce
ebeveyn
işleme
3873bc50e2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      fs/nfs/callback_xdr.c

+ 1 - 1
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)