summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfs4acl.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2014-03-07 01:39:29 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2014-05-27 15:09:08 (GMT)
commit07d1f8020738ba3180ea9992c4fa7dbc0685396a (patch)
tree3c400bbbe4c453f6b1d5afddf3d7bfae77e81daa /fs/nfsd/nfs4acl.c
parent1802a67894fab3ff90a3ef4f484e97a5b4515426 (diff)
downloadlinux-07d1f8020738ba3180ea9992c4fa7dbc0685396a.tar.xz
nfsd4: fix encoding of out-of-space replies
If nfsd4_check_resp_size() returns an error then we should really be truncating the reply here, otherwise we may leave extra garbage at the end of the rpc reply. Also add a warning to catch any cases where our reply-size estimates may be wrong in the case of a non-idempotent operation. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4acl.c')
0 files changed, 0 insertions, 0 deletions