summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs
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/fs/ntfs
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/fs/ntfs')
-rw-r--r--sys/fs/ntfs/ntfs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c
index 1b0b97a..b520eb8 100644
--- a/sys/fs/ntfs/ntfs_vfsops.c
+++ b/sys/fs/ntfs/ntfs_vfsops.c
@@ -605,7 +605,7 @@ ntfs_mountfs(devvp, mp, argsp, p)
#endif
mp->mnt_maxsymlinklen = 0;
mp->mnt_flag |= MNT_LOCAL;
- devvp->v_specmountpoint = mp;
+ devvp->v_rdev->si_mountpoint = mp;
return (0);
out1:
@@ -616,7 +616,7 @@ out1:
dprintf(("ntfs_mountfs: vflush failed\n"));
out:
- devvp->v_specmountpoint = NULL;
+ devvp->v_rdev->si_mountpoint = NULL;
if (bp)
brelse(bp);
@@ -685,7 +685,7 @@ ntfs_unmount(
* field is NULL and touching it causes null pointer derefercence.
*/
if (ntmp->ntm_devvp->v_type != VBAD)
- ntmp->ntm_devvp->v_specmountpoint = NULL;
+ ntmp->ntm_devvp->v_rdev->si_mountpoint = NULL;
vinvalbuf(ntmp->ntm_devvp, V_SAVE, NOCRED, p, 0, 0);
OpenPOWER on IntegriCloud