Subject: CVS commit: syssrc/sys/ufs/ffs
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 03/17/2002 02:02:37
Module Name: syssrc
Committed By: chs
Date: Sun Mar 17 00:02:36 UTC 2002
Modified Files:
syssrc/sys/ufs/ffs: ffs_vfsops.c
Log Message:
when mounting a filesystem, read the last block in the filesystem
to verify that the device is at least as big as the superblock claims
the filesystem is supposed to be, and if it's not then fail the mount.
this should help reduce the type of confusion reported in PR 13228.
To generate a diff of this commit:
cvs rdiff -r1.93 -r1.94 syssrc/sys/ufs/ffs/ffs_vfsops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.