btrfs-progs: refine btrfs-debug-tree error prompt when a mount point given
Now, if exec:
# btrfs-debug-tree <mount_point>
: Superblock bytenr is larger than device size
But it is quite misleading, because it is a valid btrfs.
In this case, we should tell the developer to provide a block device.
: '<mount_point>' is not a block device
Signed-off-by: Gui Hecheng <firstname.lastname@example.org>
Reviewed-by: Satoru Takeuchi <email@example.com>
Signed-off-by: David Sterba <firstname.lastname@example.org>
1 file changed