On Thu, Jul 03, 2014 at 05:36:36PM +0800, Qu Wenruo wrote: > @@ -1182,7 +1183,8 @@ struct btrfs_root *open_ctree_fd(int fp, const char > *path, u64 sb_bytenr, > return info->fs_root; > } > > -int btrfs_read_dev_super(int fd, struct btrfs_super_block *sb, u64 sb_bytenr) > +int btrfs_read_dev_super(int fd, struct btrfs_super_block *sb, u64 sb_bytenr, > + int recover_super)
> + int max_super = recover_super ? BTRFS_SUPER_MIRROR_MAX : 1; Minor tweak, I've renamed it to super_recover as this is used everywhere else. No need to resend the patch. -- 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