]> 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>
Thu, 1 Nov 2012 16:02:08 +0000 (12:02 -0400)
commit1ccfa6d7e1f5b110010c7224a0c0ad578deebedd
tree4e8a46ce46c2389d205f44e3ededc6f33aa97dff
parent71ec966e48451182b08030eb0b46c09a3df7639b
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