commit | 84822d0b3bc5a74a4290727dd1ab4fc7dcd6a348 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Fri Dec 14 17:57:50 2012 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Jan 23 18:17:35 2013 -0500 |
tree | 4d63b1766e3eb7944395073506e0454eed2e22dd | |
parent | d1c3ed669a2d452cacfb48c2d171a1f364dae2ed [diff] |
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>