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>
Fri, 30 May 2014 21:31:52 +0000 (17:31 -0400)
commitea8d7720b274607f48fb524337254a9c43dbc2df
tree174b409140dcca608e505542ca058933d7292346
parent67492c990300912c717bc95e9f705feb63de2df9
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