summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorSun YangKai <sunk67188@gmail.com>2025-09-22 19:30:07 +0800
committerDavid Sterba <dsterba@suse.com>2025-09-23 08:49:26 +0200
commit4ca6f24a52c4e94bd09f70cf132d0a38db7996b0 (patch)
treed85e13f342aab346508229d8f8004d4022612827 /fs/btrfs/dev-replace.c
parentc9ff83963a49a413b8ace36de21f61b47f461b98 (diff)
btrfs: more trivial BTRFS_PATH_AUTO_FREE conversions
Trivial pattern for the auto freeing with goto -> return conversions if possible. The following cases are considered trivial in this patch: 1. Cases where there are no operations between btrfs_free_path() and the function returns. 2. Cases where only simple cleanup operations (such as kfree(), kvfree(), clear_bit(), and fs_path_free()) are present between btrfs_free_path() and the function return. Signed-off-by: Sun YangKai <sunk67188@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions