diff options
author | Allison Collins <allison.henderson@oracle.com> | 2020-07-21 06:47:24 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-07-29 05:28:11 +0200 |
commit | 6cc5b5f89840cfe85cbd14e20500f25353a7f241 (patch) | |
tree | 5b78253d458c72e641c571e07e2a6c86e55c6b81 /fs/ceph/mdsmap.c | |
parent | xfs: Split apart xfs_attr_leaf_addname (diff) | |
download | linux-6cc5b5f89840cfe85cbd14e20500f25353a7f241.tar.xz linux-6cc5b5f89840cfe85cbd14e20500f25353a7f241.zip |
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/ceph/mdsmap.c')
0 files changed, 0 insertions, 0 deletions