diff options
author | Christoph Hellwig <hch@lst.de> | 2020-02-26 17:30:35 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-02 20:55:53 -0800 |
commit | d49db18b247d8e7e16f2178cd713f4621d1d7ade (patch) | |
tree | 98a42ea01c2ce331e14963ee257c7a6787195c78 /fs/xfs/xfs_ioctl.c | |
parent | e513e25c380ab98d401714077c8b8ff4dae9f98b (diff) | |
download | linux-d49db18b247d8e7e16f2178cd713f4621d1d7ade.tar.bz2 |
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>
Diffstat (limited to 'fs/xfs/xfs_ioctl.c')
0 files changed, 0 insertions, 0 deletions