View | Details | Raw Unified | Return to bug 265162
Collapse All | Expand All

(-)b/sys/ufs/ffs/ffs_subr.c (+1 lines)
Lines 458-463 validate_sblock(struct fs *fs, int isaltsblk) Link Here
458
	CHK(fs->fs_size, >, fs->fs_ncg * fs->fs_fpg, %jd);
458
	CHK(fs->fs_size, >, fs->fs_ncg * fs->fs_fpg, %jd);
459
	CHK(fs->fs_cssize, !=,
459
	CHK(fs->fs_cssize, !=,
460
	    fragroundup(fs, fs->fs_ncg * sizeof(struct csum)), %jd);
460
	    fragroundup(fs, fs->fs_ncg * sizeof(struct csum)), %jd);
461
	CHK(dtog(fs, fs->fs_csaddr), >, fs->fs_ncg, %jd);
461
	cgnum = dtog(fs, fs->fs_csaddr);
462
	cgnum = dtog(fs, fs->fs_csaddr);
462
	CHK(fs->fs_csaddr, <, cgdmin(fs, cgnum), %jd);
463
	CHK(fs->fs_csaddr, <, cgdmin(fs, cgnum), %jd);
463
	CHK(dtog(fs, fs->fs_csaddr + howmany(fs->fs_cssize, fs->fs_fsize)), >,
464
	CHK(dtog(fs, fs->fs_csaddr + howmany(fs->fs_cssize, fs->fs_fsize)), >,

Return to bug 265162