OSDN Git Service

nfsd4: use xdr_truncate_encode
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 27 Feb 2014 01:17:02 +0000 (20:17 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 30 May 2014 21:31:48 +0000 (17:31 -0400)
commit1fcea5b20b74cb856f5cd27161fea5329079dbd7
tree3dfb58f4606307b84a72a3163cf726d01f04e363
parent3e19ce762b537dd9aeefdd0849ba5f2f01ff83cf
nfsd4: use xdr_truncate_encode

Now that lengths are reliable, we can use xdr_truncate instead of
open-coding it everywhere.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c