diff options
| author | 2025-09-22 19:30:07 +0800 | |
|---|---|---|
| committer | 2025-09-23 08:49:26 +0200 | |
| commit | 4ca6f24a52c4e94bd09f70cf132d0a38db7996b0 (patch) | |
| tree | d85e13f342aab346508229d8f8004d4022612827 /fs/btrfs/backref.c | |
| parent | btrfs: zoned: don't fail mount needlessly due to too many active zones (diff) | |
| download | wireguard-linux-4ca6f24a52c4e94bd09f70cf132d0a38db7996b0.tar.xz wireguard-linux-4ca6f24a52c4e94bd09f70cf132d0a38db7996b0.zip | |
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/backref.c')
0 files changed, 0 insertions, 0 deletions
