OSDN Git Service

btrfs: rename btrfs_close_extra_device to btrfs_free_extra_devids
authorAnand Jain <anand.jain@oracle.com>
Tue, 27 Feb 2018 04:41:59 +0000 (12:41 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:42 +0000 (15:09 +0200)
commit9b99b11564446600f3a3ce394a841d525b7993e7
tree5a8f106e44550e3ed2856c31ed7c8b281bbc81e2
parentd02c0e20194bfd3066bff2505b2540a14f3fa3d2
btrfs: rename btrfs_close_extra_device to btrfs_free_extra_devids

This function btrfs_close_extra_devices() is about freeing
extra devids which once it may have belonged to this filesystem.
So rename it and add the comment. The _devid suffix is
appropriate as this function won't handle devices which are
outside of the filesytem being mounted.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h