aboutsummaryrefslogtreecommitdiff
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2015-05-26 11:53:52 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-06-02 08:55:28 -0400
commitd683cc49daf7c5afca8cd9654aaa1bf63cdf2ad9 (patch)
treefdff769a43b7d2b03b8371b304a4fccb42b55415 /net/sunrpc/xprtsock.c
parent7ef5ca4fe41e6a51d9bdcbbf7c66f203675e8500 (diff)
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 <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
0 files changed, 0 insertions, 0 deletions