]> 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>
Tue, 16 Oct 2012 17:15:59 +0000 (13:15 -0400)
commita2303b27b333a619e78ba3c4514ec7e9b2fb56f7
tree49f4cd785a33387dd438acd095d3243e10209d3b
parentb612d13bf542816ee51bc1cb12696e388666968d
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