diff options
author | David Sterba <dsterba@suse.com> | 2025-06-09 19:09:21 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:56:38 +0200 |
commit | d1d1c854270ae21c2c770ac42591558b6511578e (patch) | |
tree | e6cc939ab13b35b2eecc58b315863c0a31fa5a76 /fs/btrfs/dev-replace.c | |
parent | 694ce5e143d67267ad26b04463e790a597500b00 (diff) |
btrfs: open code rcu_string_free() and remove it
The helper is trivial and we can simply use kfree_rcu() if needed. In
our case it's just one place where we rename a device in
device_list_add() and the old name can still be used until the end of
the RCU grace period. The other case is freeing a device and there
nothing should reach the device, so we can use plain kfree().
Reviewed-by: Daniel Vacek <neelx@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