mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
btrfs: introduce free_device helper
A helper to free a device and all it's dynamically allocated members, like the rcu_string name or flush_bio. This is going to replace all open coded places. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
f06c5965ab
commit
48dae9cf3f
1 changed files with 14 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue