diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-12-14 23:57:50 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-01-24 00:17:35 +0100 |
commit | 84822d0b3bc5a74a4290727dd1ab4fc7dcd6a348 (patch) | |
tree | 4d63b1766e3eb7944395073506e0454eed2e22dd /mm/page_cgroup.c | |
parent | Linux 3.8-rc2 (diff) | |
download | linux-84822d0b3bc5a74a4290727dd1ab4fc7dcd6a348.tar.xz linux-84822d0b3bc5a74a4290727dd1ab4fc7dcd6a348.zip |
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 'mm/page_cgroup.c')
0 files changed, 0 insertions, 0 deletions