On Tue, Dec 08, 2015 at 03:35:57PM +0800, Qu Wenruo wrote: > @@ -4005,31 +3989,47 @@ static int btrfs_check_super_valid(struct > btrfs_fs_info *fs_info, > } > > /* > - * The common minimum, we don't know if we can trust the > nodesize/sectorsize > - * items yet, they'll be verified later. Issue just a warning. > + * Check sectorsize and nodesize first, some other check will need it. > + * XXX: Just do a favor for later subpage size check. Check all
Same as in v1: Please do not add new XXX or TODO markers to the sources. The comment would be fine with just: "Check all possible sectorsizes (4K, 8K, 16K, 32K, 64K) here." With that fixed, Reviewed-by: David Sterba <dste...@suse.com> -- 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