commit | ed02d13f5da896f5563b3673dd16db6c268c0f83 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Feb 26 17:30:44 2020 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Mar 02 20:55:55 2020 -0800 |
tree | 5eea9997b9cda376fcd98a84a1d9f79ce84f699b | |
parent | f311d771a090f5cc96b65ab76737cbf13914bc0c [diff] |
xfs: only allocate the buffer size actually needed in __xfs_set_acl No need to allocate the max size if we can just allocate the easily known actual ACL size. Suggested-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>