]> Git Repo - linux.git/commit - fs/xfs/xfs_acl.c
xfs: remove ATTR_ALLOC and XFS_DA_OP_ALLOCVAL
authorChristoph Hellwig <[email protected]>
Thu, 27 Feb 2020 01:30:35 +0000 (17:30 -0800)
committerDarrick J. Wong <[email protected]>
Tue, 3 Mar 2020 04:55:53 +0000 (20:55 -0800)
commitd49db18b247d8e7e16f2178cd713f4621d1d7ade
tree98a42ea01c2ce331e14963ee257c7a6787195c78
parente513e25c380ab98d401714077c8b8ff4dae9f98b
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 <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Chandan Rajendra <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_attr.h
fs/xfs/libxfs/xfs_attr_leaf.c
fs/xfs/libxfs/xfs_da_btree.h
fs/xfs/xfs_acl.c
This page took 0.056003 seconds and 4 git commands to generate.