btrfs: rename btrfs_add_device to btrfs_add_dev_item
authorAnand Jain <anand.jain@oracle.com>
Mon, 6 Nov 2017 08:36:15 +0000 (16:36 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:11 +0000 (16:08 +0100)
commitc74a0b0237c47806e43c1dc6f875c88fb9ee2525
tree7a0a06e490ab11693b84de05ce01380023a09184
parent33d85fda13ea2712bb9c9e687176798583d2359c
btrfs: rename btrfs_add_device to btrfs_add_dev_item

Function btrfs_add_device() is adding the device item so rename to
reflect that in the function. Similarly we have btrfs_rm_dev_item().

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