]> 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)
commit8728d04cce8b58369df215d78ab0522eca6f07f1
tree596093a7320811cf173b6eb417c3c8c482ad8a04
parent08ae7d280fa84f2205f97c1475911861198a49f5
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