On Fri, May 15, 2015 at 02:36:35PM +0800, Qu Wenruo wrote: > This bug is found by making break point after change_fsid_prepare() and > then kill the unfinished change, then try to restore the unfinished fsid > change. > > If fsid change is canceled, open_ctree will still fail even with > IGNORE_FSID_MIMATCH open ctree flag, since it can't find device with > mismatched fsid, making it unable to restoring. > > Now add ignore_fsid_mismatch judgment in btrfs_find_device() to fix the > bug and allow later restore to work as expected. > > Signed-off-by: Qu Wenruo <[email protected]>
Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
