NFS: Use xdr_stream-based XDR encoder for MNT's dirpath argument
authorChuck Lever <chuck.lever@oracle.com>
Thu, 18 Jun 2009 01:02:11 +0000 (18:02 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 18 Jun 2009 01:02:11 +0000 (18:02 -0700)
commit29a1bd6bf8c7a9ff511aaaf7e40fd6ca5198babe
tree03af95bef95d927742cd7a8349ae22c3320ff57c
parent2ad780978b7c0c3e7877949f098cbd06e7c73839
NFS: Use xdr_stream-based XDR encoder for MNT's dirpath argument

Check the length of the supplied dirpath, and see that it fits
properly in the RPC buffer.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/mount_clnt.c