commit | 99e3ecfcb9f4ca35192d20a5bea158b81f600062 | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Fri Jun 03 12:05:14 2016 -0700 |
committer | David Sterba <dsterba@suse.com> | Mon Jun 06 10:41:53 2016 +0200 |
tree | 41a481ff46b66e463f8824c66834c4402ea836e7 | |
parent | d865177a5e749827f248f6363f5100d3a2f66b0f [diff] |
Btrfs: add more validation checks for superblock This adds validation checks for super_total_bytes, super_bytes_used and super_stripesize, super_num_devices. Reported-by: Vegard Nossum <vegard.nossum@oracle.com> Reported-by: Quentin Casasnovas <quentin.casasnovas@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>