commit | d49db18b247d8e7e16f2178cd713f4621d1d7ade | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Feb 26 17:30:35 2020 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Mar 02 20:55:53 2020 -0800 |
tree | 98a42ea01c2ce331e14963ee257c7a6787195c78 | |
parent | e513e25c380ab98d401714077c8b8ff4dae9f98b [diff] |
xfs: remove ATTR_ALLOC and XFS_DA_OP_ALLOCVAL Use a NULL args->value as the indicator to lazily allocate a buffer instead, and let the caller always free args->value instead of duplicating the cleanup. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>