From: J. Bruce Fields Date: Fri, 14 Dec 2012 22:57:50 +0000 (-0500) Subject: nfsd4: simplify nfsd4_encode_fattr interface slightly X-Git-Tag: v3.9-rc1~40^2~48 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84822d0b3bc5a74a4290727dd1ab4fc7dcd6a348;p=pandora-kernel.git 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 --- Reading git-diff-tree failed