NFS: Ensure NFSv4 SETCLIENTID send buffer is large enough
authorChuck Lever <chuck.lever@oracle.com>
Mon, 10 Dec 2007 19:56:54 +0000 (14:56 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:51 +0000 (02:05 -0500)
commitcc38bac3a0093b3b7928efc6ff8e9faf9e75f41d
tree971f0653619e9068408d2938af37147f7448a53d
parent0fb2b7e945f55a8317e5f58db7c068aab5b825a1
NFS: Ensure NFSv4 SETCLIENTID send buffer is large enough

Ensure that the RPC buffer size specified for NFSv4 SETCLIENTID procedures
matches what we are encoding into the buffer.  See the definition of
struct nfs4_setclientid {} and the encode_setclientid() function.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c
include/linux/nfs_xdr.h