On Tue, Sep 20, 2016 at 10:19:02AM +0800, Qu Wenruo wrote: > We have enhanced super block validation check in disk_io.c, while > super-recover doesn't use that function and use a custom one. > > That is duplicated, so reuse btrfs_read_dev_super to handle it, which > not only enhanced super check, but also reduce the code length.
Yeah, the existing check_super does way more checks compared to this one. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html