[PATCH] nfs: really return status from decode_recall_args()

From: Alexey Dobriyan
Date: Fri May 26 2006 - 19:30:02 EST


Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

--- a/fs/nfs/callback_xdr.c
+++ 1/fs/nfs/callback_xdr.c
@@ -202,7 +202,7 @@ static unsigned decode_recall_args(struc
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)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/