diff options
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_export.c | 4 | ||||
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
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); } |