From: Jeff Layton Date: Tue, 17 Jun 2014 10:14:08 +0000 (-0400) Subject: nfsd: fix return of nfs4_acl_write_who X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~158 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7ce5d284253db9760fc1c3a96b66ec2d9abf0ab;p=pandora-kernel.git nfsd: fix return of nfs4_acl_write_who AFAICT, the only way to hit this error is to pass this function a bogus "who" value. In that case, we probably don't want to return -1 as that could get sent back to the client. Turn this into nfserr_serverfault, which is a more appropriate error for a server bug like this. Signed-off-by: Jeff Layton Reviewed-by: Christoph Hellwig Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed