]> rtime.felk.cvut.cz Git - linux-imx.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>
Sun, 4 Nov 2012 19:43:39 +0000 (14:43 -0500)
commitaad56de378b4c675e964a1ab44cf2e55d44d2865
treef08d736bac1a97e67bee57768d51cf8c1e6098cc
parent28d79ea33f52cae1ea04808e1ec52b8657b5d804
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