diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-02-23 14:42:40 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-02-23 14:42:40 +0000 |
commit | 96e821437735f981862bb50be47e2c291a615907 (patch) | |
tree | 163b1a3c8a068ad3cf4e4e6e3ba48d03a79eec2c /sys/miscfs | |
parent | 51008faf3223ac4bc87038c7550574709c459445 (diff) |
Remove the clustering fields from the vnodes and place them in the
file system inode instead
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 4 | ||||
-rw-r--r-- | sys/miscfs/specfs/specdev.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index ca03010b899..234073b5d61 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spec_vnops.c,v 1.15 1998/02/23 17:40:58 niklas Exp $ */ +/* $OpenBSD: spec_vnops.c,v 1.16 2001/02/23 14:42:39 csapuntz Exp $ */ /* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */ /* @@ -54,6 +54,8 @@ #include <miscfs/specfs/specdev.h> +#define v_lastr v_specinfo->si_lastr + /* symbolic sleep message strings for devices */ char devopn[] = "devopn"; char devio[] = "devio"; diff --git a/sys/miscfs/specfs/specdev.h b/sys/miscfs/specfs/specdev.h index 2f6db5186f2..3d7de64876b 100644 --- a/sys/miscfs/specfs/specdev.h +++ b/sys/miscfs/specfs/specdev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: specdev.h,v 1.7 1998/08/06 19:34:48 csapuntz Exp $ */ +/* $OpenBSD: specdev.h,v 1.8 2001/02/23 14:42:39 csapuntz Exp $ */ /* $NetBSD: specdev.h,v 1.12 1996/02/13 13:13:01 mycroft Exp $ */ /* @@ -47,6 +47,7 @@ struct specinfo { struct mount *si_mountpoint; dev_t si_rdev; struct lockf *si_lockf; + daddr_t si_lastr; }; /* * Exported shorthand |