Re: [PATCH 1/2] btrfs-progs: convert: Fix a bug in rollback check which overwrite return value

2017-12-07 Thread David Sterba
On Wed, Nov 29, 2017 at 09:48:05PM +0800, Qu Wenruo wrote: > Commit 1170ac307900 ("btrfs-progs: convert: Introduce function to check if > convert image is able to be rolled back") reworked rollback check > condition, by checking 1:1 mapping of each file extent. > > The idea itself has nothing wron

[PATCH 1/2] btrfs-progs: convert: Fix a bug in rollback check which overwrite return value

2017-11-29 Thread Qu Wenruo
Commit 1170ac307900 ("btrfs-progs: convert: Introduce function to check if convert image is able to be rolled back") reworked rollback check condition, by checking 1:1 mapping of each file extent. The idea itself has nothing wrong, but error handler is not implemented correctly, which over writes