diff options
author | Dave Chinner <dchinner@redhat.com> | 2022-05-11 17:04:23 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-05-11 17:04:23 +1000 |
commit | e22b88de5bacdd60ffa70e911e5fbae9ad36441a (patch) | |
tree | f2c8a8bd863bbc9d7e3763720468f0e3ee84f49b /fs/xfs/xfs_acl.c | |
parent | f3d430ff8cda80ccb9b73d9efa0e186fa532b74e (diff) | |
download | linux-e22b88de5bacdd60ffa70e911e5fbae9ad36441a.tar.gz linux-e22b88de5bacdd60ffa70e911e5fbae9ad36441a.tar.bz2 linux-e22b88de5bacdd60ffa70e911e5fbae9ad36441a.zip |
xfs: make xattri_leaf_bp more useful
We currently set it and hold it when converting from short to leaf
form, then release it only to immediately look it back up again
to do the leaf insert.
Do a bit of refactoring to xfs_attr_leaf_try_add() to avoid this
messy handling of the newly allocated leaf buffer.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Allison Henderson<allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_acl.c')
0 files changed, 0 insertions, 0 deletions