]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFS: Remove asserts from the NFS XDR code
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 15 Oct 2012 15:51:21 +0000 (11:51 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 1 Nov 2012 16:02:04 +0000 (12:02 -0400)
commitc7c9a74853599f75b35085f0d5df4348aa8c241d
tree1737b404fd30d592de3e03666e160ae2f8e0e0f5
parentd5fcc96854492e3dbe9152aa1935fa3b3f4263ca
NFS: Remove asserts from the NFS XDR code

Convert the ones that are not trivial to check into WARN_ON_ONCE().
Remove checks for things such as NFS2_MAXPATHLEN, which are trivially
done by the caller.

Add a comment to the case of nfs3_xdr_enc_setacl3args. What is being
done there is just wrong...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs4xdr.c