Re: [PATCH] Btrfs-progs: fix btrfs-convert rollback to check ROOT_BACKREF

2015-10-22 Thread David Sterba
On Sun, Oct 18, 2015 at 07:41:27PM +0800, Qu Wenruo wrote: > 在 2015年10月18日 13:44, Liu Bo 写道: > > Btrfs has changed to delete subvolume/snapshot asynchronously, which means > > that > > after umount itself, if we've already deleted 'ext2_saved', rollback can > > still > > be completed. > > > > So

Re: [PATCH] Btrfs-progs: fix btrfs-convert rollback to check ROOT_BACKREF

2015-10-18 Thread Qu Wenruo
在 2015年10月18日 13:44, Liu Bo 写道: Btrfs has changed to delete subvolume/snapshot asynchronously, which means that after umount itself, if we've already deleted 'ext2_saved', rollback can still be completed. So this adds a check for ROOT_BACKREF before checking ROOT_ITEM since ROOT_BACKREF is imm

[PATCH] Btrfs-progs: fix btrfs-convert rollback to check ROOT_BACKREF

2015-10-17 Thread Liu Bo
Btrfs has changed to delete subvolume/snapshot asynchronously, which means that after umount itself, if we've already deleted 'ext2_saved', rollback can still be completed. So this adds a check for ROOT_BACKREF before checking ROOT_ITEM since ROOT_BACKREF is immediately not in the btree after ioct