diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-04-24 00:37:16 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-04-24 00:37:16 +0000 |
commit | 383dd0a2656889604bb7eb71b993875024ddd832 (patch) | |
tree | 27c206456654624cddcce9e930e92a58e2438ebd /sys/fs | |
parent | 21cf7b313e0bc24fdfba9db608502a795edc2f64 (diff) | |
download | FreeBSD-src-383dd0a2656889604bb7eb71b993875024ddd832.zip FreeBSD-src-383dd0a2656889604bb7eb71b993875024ddd832.tar.gz |
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
Diffstat (limited to 'sys/fs')
0 files changed, 0 insertions, 0 deletions