]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd4: remove redundant encode buffer size checking
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 8 Mar 2014 22:19:55 +0000 (17:19 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 28 May 2014 18:52:44 +0000 (14:52 -0400)
commit80233379fc736b5ca632a2f162e03cc58f061014
tree8da1d83361443788e1e4448726aba72c8124a162
parent470c0ee3e90beb5717e18e9139f68974747943c8
nfsd4: remove redundant encode buffer size checking

Now that all op encoders can handle running out of space, we no longer
need to check the remaining size for every operation; only nonidempotent
operations need that check, and that can be done by
nfsd4_check_resp_size.

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