commit | d683cc49daf7c5afca8cd9654aaa1bf63cdf2ad9 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Tue May 26 11:53:52 2015 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Jun 02 08:55:28 2015 -0400 |
tree | fdff769a43b7d2b03b8371b304a4fccb42b55415 | |
parent | 7ef5ca4fe41e6a51d9bdcbbf7c66f203675e8500 [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>