freebsd-dev/sys/ufs
Poul-Henning Kamp 4a18054d7b With the introduction of UFS2 we started looking for superblocks in
four different locations on a prospective filesystem.

If we found none, we forgot to invalidate the four buffers, thus the
following sequence would fails:

	(md0 = blank disk)
	mount /dev/md0 /mnt
	(fails, no superblocks)
	newfs /dev/md0
	(writes using physio which does not go through buffercache).
	mount /dev/md0 /mnt
	(still fails, the four cached buffers still contain no superblocks)

Found by:	ru
2004-12-12 14:19:11 +00:00
..
ffs With the introduction of UFS2 we started looking for superblocks in 2004-12-12 14:19:11 +00:00
ufs Revert previous commit. The null-pointer function call (a dereference 2004-12-11 23:05:30 +00:00