1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/ufs
Ian Dowse 5d69bac493 Pre-dirpref versions of fsck may zero out the new superblock fields
fs_contigdirs, fs_avgfilesize and fs_avgfpdir. This could cause
panics if these fields were zeroed while a filesystem was mounted
read-only, and then remounted read-write.

Add code to ffs_reload() which copies the fs_contigdirs pointer
from the previous superblock, and reinitialises fs_avgf* if necessary.

Reviewed by:	mckusick
2001-04-24 00:37:16 +00:00
..
ffs Pre-dirpref versions of fsck may zero out the new superblock fields 2001-04-24 00:37:16 +00:00
ifs Change and clean the mutex lock interface. 2001-02-09 06:11:45 +00:00
mfs Correct #includes to work with fixed sys/mount.h. 2001-04-23 09:05:15 +00:00
ufs Correct #includes to work with fixed sys/mount.h. 2001-04-23 09:05:15 +00:00