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.nos...@oracle.com> > Reported-by: Quentin Casasnovas <quentin.casasno...@oracle.com> > Signed-off-by: Liu Bo <bo.li....@oracle.com>
Reviewed-by: David Sterba <dste...@suse.com> 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html