Skip to content
Commit 48dae9cf authored by David Sterba's avatar David Sterba
Browse files

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: default avatarDavid Sterba <dsterba@suse.com>
parent f06c5965
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment