summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2025-06-09 19:09:21 +0200
committerDavid Sterba <dsterba@suse.com>2025-07-21 23:56:38 +0200
commitd1d1c854270ae21c2c770ac42591558b6511578e (patch)
treee6cc939ab13b35b2eecc58b315863c0a31fa5a76 /fs/btrfs/dev-replace.c
parent694ce5e143d67267ad26b04463e790a597500b00 (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