]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: introduce free_device helper
authorDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 17:10:25 +0000 (18:10 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:11 +0000 (16:08 +0100)
commitdd9e29ec0d2df5bfb428371feb54d41c1ef3288a
tree596093a7320811cf173b6eb417c3c8c482ad8a04
parent5687971d910aed0c65d50997147536c4509baf24
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>
fs/btrfs/volumes.c