btrfs-progs: also check filesystem type in test_issubvolume
authorDavid Sterba <dsterba@suse.com>
Wed, 13 Jan 2016 17:44:59 +0000 (18:44 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 14 Jan 2016 10:07:10 +0000 (11:07 +0100)
commit7faf96e30aacf927ac18c5a1e5c50921f0ae5eee
tree2e05e66031858733f2ab226ae1155b1161326949
parentdddc3e08cbf87c1ab06f4fa55a108e538db42f8b
btrfs-progs: also check filesystem type in test_issubvolume

A subvolume is a directory with inode number 256 on a btrfs filesytem.
Add the missing check to test_issubvolume for completeness, otherwise we
always do that in btrfs_open_dir.

Signed-off-by: David Sterba <dsterba@suse.com>
cmds-subvolume.c