On Fri, Jun 03, 2016 at 12:05:14PM -0700, Liu Bo wrote: > This adds valid checks for super_total_bytes, super_bytes_used and > super_stripesize, super_num_devices. > > Reported-by: Vegard Nossum <vegard.nossum@xxxxxxxxxx> > Reported-by: Quentin Casasnovas <quentin.casasnovas@xxxxxxxxxx> > Signed-off-by: Liu Bo <bo.li.liu@xxxxxxxxxx> Reviewed-by: David Sterba <dsterba@xxxxxxxx> I'll switch the printk(KERN_ to the btrfs_* helpers and do minor tweaks in the messages, but otherwise this version looks good to me. I don't think we need the helper for stripe value checks as I proposed. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
