Bruce Evans 9cd93b3aec Don't follow null bdevsw pointers. The `major(dev) < nblkdev' test rotted
when bdevsw[] became sparse.  We still depend on magic to avoid having to
check that (v_rdev) device numbers in vnodes are not NODEV.

Removed a redundant `major(dev) < nblkdev' test instead of updating it.

Don't follow a garbage bdevsw pointer for attempts to swap on empty
regular files.  This case currently can't happen.  Swapping on regular
files is ifdefed out in swapon() and isn't attempted for empty files
in nfs_mountroot().
1998-10-25 19:24:04 +00:00
..
1998-10-25 07:23:32 +00:00
1998-10-23 10:46:20 +00:00
1998-09-14 19:56:42 +00:00
1998-09-13 15:40:31 +00:00
1998-08-17 01:05:25 +00:00
1998-09-17 09:35:02 +00:00
1998-08-17 01:05:25 +00:00
1998-01-08 23:42:31 +00:00
1998-10-24 19:47:42 +00:00
1998-10-24 19:47:29 +00:00
1998-10-11 18:39:38 +00:00