btrfs-progs: Fix check_arg_type() which doesn't use realpath() result.
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Wed, 12 Feb 2014 05:44:37 +0000 (13:44 +0800)
committerChris Mason <clm@fb.com>
Fri, 21 Mar 2014 13:23:14 +0000 (06:23 -0700)
commit93f4f126ecee53533d798949e96033f6f850c027
tree88637fb2ba3c9e8f6d60e85ff89602f1a3e82d8f
parent5218123d8ffe51dffd6852d2c7858178f64483c2
btrfs-progs: Fix check_arg_type() which doesn't use realpath() result.

Fix a problem that does not use the result of realpath(), which caused
check_arg_type() can't handle mount point which ends with a final '/'.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Cc: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
cmds-filesystem.c