summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>2000-10-09 17:31:39 +0000
committereivind <eivind@FreeBSD.org>2000-10-09 17:31:39 +0000
commit4a39f454a004e45fbf58edf33d5a7c897964fa2d (patch)
tree1dc4af23aa65164f631bbeb9f969739d5f05803b /sys/kern
parent21413d77fe0420111b362ba10c8108c1a22ee2b7 (diff)
downloadFreeBSD-src-4a39f454a004e45fbf58edf33d5a7c897964fa2d.zip
FreeBSD-src-4a39f454a004e45fbf58edf33d5a7c897964fa2d.tar.gz
Blow away the v_specmountpoint define, replacing it with what it was
defined as (rdev->si_mountpoint)
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_export.c4
-rw-r--r--sys/kern/vfs_subr.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index c37397a..eb5f5cf 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -1235,7 +1235,7 @@ reassignbuf(bp, newvp)
break;
case VCHR:
case VBLK:
- if (newvp->v_specmountpoint != NULL) {
+ if (newvp->v_rdev->si_mountpoint != NULL) {
delay = metadelay;
break;
}
@@ -2251,7 +2251,7 @@ vfs_mountedon(vp)
struct vnode *vp;
{
- if (vp->v_specmountpoint != NULL)
+ if (vp->v_rdev->si_mountpoint != NULL)
return (EBUSY);
return (0);
}
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index c37397a..eb5f5cf 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1235,7 +1235,7 @@ reassignbuf(bp, newvp)
break;
case VCHR:
case VBLK:
- if (newvp->v_specmountpoint != NULL) {
+ if (newvp->v_rdev->si_mountpoint != NULL) {
delay = metadelay;
break;
}
@@ -2251,7 +2251,7 @@ vfs_mountedon(vp)
struct vnode *vp;
{
- if (vp->v_specmountpoint != NULL)
+ if (vp->v_rdev->si_mountpoint != NULL)
return (EBUSY);
return (0);
}
OpenPOWER on IntegriCloud