diff options
author | 2022-06-23 09:26:38 -0700 | |
---|---|---|
committer | 2022-06-26 14:43:28 -0700 | |
commit | f94e08b602d45ec8ea69fb0aa1c85b712a6a4558 (patch) | |
tree | 0e391ec9fec1b379efd23408c0d6b477cfa38951 /net/unix/sysctl_net_unix.c | |
parent | xfs: always free xattri_leaf_bp when cancelling a deferred op (diff) | |
download | wireguard-linux-f94e08b602d45ec8ea69fb0aa1c85b712a6a4558.tar.xz wireguard-linux-f94e08b602d45ec8ea69fb0aa1c85b712a6a4558.zip |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions