PC-BSD/trueos ec03032 — sys/fs/ext2fs ext2_vfsops.c ext2_alloc.c
MFC r344751: Make superblock reading logic more strict. Add more on-disk superblock consistency checks to ext2_compute_sb_data() function. It should decrease the probability of mounting filesystems with corrupted superblock data. Reviewed by: pfg Differential Revision: https://reviews.freebsd.org/D19322
Delta | File | |
---|---|---|
+207 | -59 | sys/fs/ext2fs/ext2_vfsops.c |
+5 | -5 | sys/fs/ext2fs/ext2_alloc.c |
+3 | -2 | sys/fs/ext2fs/ext2fs.h |
+3 | -0 | sys/fs/ext2fs/ext2_extern.h |
+218 | -66 | 4 files |