]> 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>
Mon, 29 Oct 2012 16:14:50 +0000 (12:14 -0400)
commitc9d5e1fd27b5b30b67ad7cbfed4a8d3860a9b96d
tree748213d8fd137a94b37fb01fa7e99209bf7d54d9
parent7b44a1f23b4fca4033255396a17be65b274cd733
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