btrfs-progs: use function is_block_device() instead
authorAnand Jain <anand.jain@oracle.com>
Mon, 1 Jun 2015 06:25:18 +0000 (14:25 +0800)
committerDavid Sterba <dsterba@suse.cz>
Tue, 2 Jun 2015 15:15:00 +0000 (17:15 +0200)
commitd2d22a4f7bbf3dda752c418468a2c95a6ea11dbe
tree166f47468c335adab6076eea43d35bd8a048db08
parentfbb356632c19c9262231e2062d2f708574f794ad
btrfs-progs: use function is_block_device() instead

Here the delete code as below, is trying to check if the provided device
is a block device, there is a function for it. Use it.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-replace.c