btrfs-progs/image
Qu Wenruo d59e19ca07 btrfs-progs: image: Warn about log tree generation mismatch when restoring
At restore time, btrfs-image will try to fixup dev extents, this will
trigger a transaction.

It's normally OK to start a new transaction, but for an image with log
tree, a new transaction will increment generation, and log tree generation
will not match super block generation + 1.

There is no good way to solve it yet. Just output a warning for now.

Signed-off-by: Qu Wenruo <wqu@suse.com>
[ update error message ]
Signed-off-by: David Sterba <dsterba@suse.com>
2018-10-31 18:24:13 +01:00
..
main.c btrfs-progs: image: Warn about log tree generation mismatch when restoring 2018-10-31 18:24:13 +01:00
metadump.h btrfs-progs: image: move metadump definitions to own header 2017-11-14 15:59:00 +01:00
sanitize.c btrfs-progs: image: move sanitization to new file 2017-11-14 15:59:00 +01:00
sanitize.h btrfs-progs: image: move sanitization to new file 2017-11-14 15:59:00 +01:00