btrfs-progs: remove uneccessary subvol name check for subvol deletion
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 18 Dec 2014 03:32:35 +0000 (11:32 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 14 Jan 2015 17:34:04 +0000 (18:34 +0100)
commit3d47cc9ae17d939b9ad870a9f337f9c9f86d70d6
tree006cb2b13b00d46fef62e031cfd030260a0df347
parent6eafa191c09f141831dcd77e7b9241d41fb35680
btrfs-progs: remove uneccessary subvol name check for subvol deletion

When we want to delete a subvol, we first check to see whether it is
a subvolume or not. After the check, we are sure that it is a valid
subvol, don't have to check its name.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
[removed unused variable 'len']
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-subvolume.c