btrfs-progs: convert: add new callback to check state
authorDavid Sterba <dsterba@suse.com>
Tue, 4 Oct 2016 14:24:00 +0000 (16:24 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 5 Oct 2016 10:39:01 +0000 (12:39 +0200)
commitd27c586c5b688b9e820fa9e4b7f3d69a50e1864e
treed11a2dbab47a1785fc52834d678ce482be7de197
parent5e96864dfdb224f62b3346700969d4d3932da529
btrfs-progs: convert: add new callback to check state

Make the hardcoded ext2 call to a generic per-fs callback.

Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-convert.c