btrfs-progs: utils: Check nodesize against features
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Fri, 25 Sep 2015 16:15:44 +0000 (18:15 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 2 Oct 2015 15:54:04 +0000 (17:54 +0200)
commitece0e1ea036e6d1c952f304ff74762a12786c37f
treebba6fb117552bb74b000b84e9de7deb85bde5cc4
parent94789777b9e8f350ba815b07baa5383e99cd1944
btrfs-progs: utils: Check nodesize against features

Check nodesize against features, not only sectorsize.
In fact, one of the btrfs-convert and mkfs differs in the nodesize
check.

This patch also provides the basis for later btrfs-convert fix.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-convert.c
mkfs.c
utils.c
utils.h