summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-12-14 17:57:50 -0500
committerJ. Bruce Fields <bfields@redhat.com>2013-01-23 18:17:35 -0500
commit84822d0b3bc5a74a4290727dd1ab4fc7dcd6a348 (patch)
tree4d63b1766e3eb7944395073506e0454eed2e22dd /fs/nfsd/nfs4state.c
parentd1c3ed669a2d452cacfb48c2d171a1f364dae2ed (diff)
downloadlinux-84822d0b3bc5a74a4290727dd1ab4fc7dcd6a348.tar.bz2
nfsd4: simplify nfsd4_encode_fattr interface slightly
It seems slightly simpler to make nfsd4_encode_fattr rather than its callers responsible for advancing the write pointer on success. (Also: the count == 0 check in the verify case looks superfluous. Running out of buffer space is really the only reason fattr encoding should fail with eresource.) Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
0 files changed, 0 insertions, 0 deletions