From: Chuck Lever Date: Tue, 26 May 2015 15:53:52 +0000 (-0400) Subject: NFS: Fix size of NFSACL SETACL operations X-Git-Tag: omap-for-v4.2/fixes-rc1^2~39^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d683cc49daf7c5afca8cd9654aaa1bf63cdf2ad9;p=pandora-kernel.git NFS: Fix size of NFSACL SETACL operations When encoding the NFSACL SETACL operation, reserve just the estimated size of the ACL rather than a fixed maximum. This eliminates needless zero padding on the wire that the server ignores. Fixes: ee5dc7732bd5 ('NFS: Fix "kernel BUG at fs/nfs/nfs3xdr.c:1338!"') Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed