]> 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>
Wed, 24 Oct 2012 15:29:13 +0000 (11:29 -0400)
commitb313fede2be1220baf86fb63abab331990159754
tree4b2d55ea1dd62c5b2954117cfe1cc23d72393065
parent2d46037d7d110eadcff3e9e5aef65965e6a1c1b2
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