]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 28 May 2014 18:52:39 +0000 (14:52 -0400)
commit3296a16ed1f1a2a3296cf71b8a75e9c1ce592abb
treef6a4ec3ed5cb87101771d42cac1d264ca823ad62
parent46029f60a097564740db24817e8325f1f9c5097c
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