]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lockd: Remove unnecessary BUG_ON()s in the xdr client code
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 15 Oct 2012 21:14:38 +0000 (17:14 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 29 Oct 2012 16:14:51 +0000 (12:14 -0400)
commit27758d9f50bc05469336bb5173c6e21afeba9dde
tree1ec5caa49fdcab51031bc351bb4f4ef993528007
parentd86091d9dc0ec3e121e393e3985903329ddc66e4
lockd: Remove unnecessary BUG_ON()s in the xdr client code

- Offset bound checks are done in the NFS client code.
- So are filehandle size checks
- The cookie length is a constant
- The utsname()->nodename is already bounded

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/clnt4xdr.c
fs/lockd/clntxdr.c