diff options
| author | 2022-11-22 19:50:02 +0800 | |
|---|---|---|
| committer | 2022-11-23 16:52:22 +0100 | |
| commit | ffdbb44f2f23f963b8f5672e35c3a26088177a62 (patch) | |
| tree | e15cfa4a9d073928eeeee3d8760cb5c6ec4502a9 /kernel/gcov/clang.c | |
| parent | btrfs: do not modify log tree while holding a leaf from fs tree locked (diff) | |
| download | wireguard-linux-ffdbb44f2f23f963b8f5672e35c3a26088177a62.tar.xz wireguard-linux-ffdbb44f2f23f963b8f5672e35c3a26088177a62.zip | |
btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()
Although kset_unregister() can eventually remove all attribute files,
explicitly rolling back with the matching function makes the code logic
look clearer.
CC: stable@vger.kernel.org # 5.4+
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kernel/gcov/clang.c')
0 files changed, 0 insertions, 0 deletions
