Back out previous commit. It was wrong, and caused panics.

This commit is contained in:
Brian Feldman 1999-07-07 03:03:59 +00:00
parent 07c50a3b6b
commit 4116f679c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48651
3 changed files with 3 additions and 3 deletions

View File

@ -155,7 +155,7 @@ void ldisc_deregister __P((int));
* Swap device table
*/
struct swdevt {
udev_t sw_dev;
dev_t sw_dev;
int sw_flags;
int sw_nblks;
struct vnode *sw_vp;

View File

@ -155,7 +155,7 @@ void ldisc_deregister __P((int));
* Swap device table
*/
struct swdevt {
udev_t sw_dev;
dev_t sw_dev;
int sw_flags;
int sw_nblks;
struct vnode *sw_vp;

View File

@ -314,7 +314,7 @@ swaponvp(p, vp, dev, nblks)
nblks = dbtoc(nblks);
sp->sw_vp = vp;
sp->sw_dev = dev2udev(dev);
sp->sw_dev = dev;
sp->sw_flags |= SW_FREED;
sp->sw_nblks = nblks;