diff options
author | Allison Collins <allison.henderson@oracle.com> | 2020-07-21 07:47:24 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-07-29 06:28:11 +0300 |
commit | 6cc5b5f89840cfe85cbd14e20500f25353a7f241 (patch) | |
tree | 5b78253d458c72e641c571e07e2a6c86e55c6b81 /fs/xfs/libxfs/xfs_attr_leaf.c | |
parent | 7c93d4a8fc39cf209c6a67ff26fc83646c9f7d61 (diff) | |
download | linux-6cc5b5f89840cfe85cbd14e20500f25353a7f241.tar.xz |
xfs: Refactor xfs_attr_try_sf_addname
To help pre-simplify xfs_attr_set_args, we need to hoist transaction
handling up, while modularizing the adjacent code down into helpers. In
this patch, hoist the commit in xfs_attr_try_sf_addname up into the
calling function, and also pull the attr list creation down.
Signed-off-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Acked-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_attr_leaf.c')
0 files changed, 0 insertions, 0 deletions