diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-06-23 09:26:38 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-06-26 14:43:28 -0700 |
commit | f94e08b602d45ec8ea69fb0aa1c85b712a6a4558 (patch) | |
tree | 0e391ec9fec1b379efd23408c0d6b477cfa38951 /fs/xfs/libxfs/xfs_attr_leaf.c | |
parent | b822ea17fd15659b92cb86c48d018c9e43d0fd98 (diff) | |
download | linux-f94e08b602d45ec8ea69fb0aa1c85b712a6a4558.tar.bz2 |
xfs: clean up the end of xfs_attri_item_recover
The end of this function could use some cleanup -- the EAGAIN
conditionals make it harder to figure out what's going on with the
disposal of xattri_leaf_bp, and the dual error/ret variables aren't
needed. Turn the EAGAIN case into a separate block documenting all the
subtleties of recovering in the middle of an xattr update chain, which
makes the rest of the prologue much simpler.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_attr_leaf.c')
0 files changed, 0 insertions, 0 deletions