summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-03-09 14:46:57 +0000
committereivind <eivind@FreeBSD.org>1998-03-09 14:46:57 +0000
commit94b4481b7476c53c86385f7947d9457639c14cea (patch)
tree7c1bf22122c04316bb015ff6e7b3d0988db09ae3
parent1f1344c8da8a69391c392a10e27dda134755fc94 (diff)
downloadFreeBSD-src-94b4481b7476c53c86385f7947d9457639c14cea.zip
FreeBSD-src-94b4481b7476c53c86385f7947d9457639c14cea.tar.gz
Make this compile after soft updates integration.
LINTing forgotten by: julian
-rw-r--r--sys/gnu/ext2fs/ext2_vfsops.c8
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c
index aab8b74..635876b 100644
--- a/sys/gnu/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/ext2fs/ext2_vfsops.c
@@ -648,9 +648,9 @@ ext2_mountfs(devvp, mp, p)
ump->um_seqinc = EXT2_FRAGS_PER_BLOCK(fs);
for (i = 0; i < MAXQUOTAS; i++)
ump->um_quotas[i] = NULLVP;
- devvp->v_specflags |= SI_MOUNTEDON;
- if (ronly == 0)
- ext2_sbupdate(ump, MNT_WAIT);
+ devvp->v_specmountpoint = mp;
+ if (ronly == 0)
+ ext2_sbupdate(ump, MNT_WAIT);
return (0);
out:
if (bp)
@@ -706,7 +706,7 @@ ext2_unmount(mp, mntflags, p)
if (fs->s_block_bitmap[i])
ULCK_BUF(fs->s_block_bitmap[i])
- ump->um_devvp->v_specflags &= ~SI_MOUNTEDON;
+ ump->um_devvp->v_specmountpoint = NULL;
error = VOP_CLOSE(ump->um_devvp, ronly ? FREAD : FREAD|FWRITE,
NOCRED, p);
vrele(ump->um_devvp);
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index aab8b74..635876b 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -648,9 +648,9 @@ ext2_mountfs(devvp, mp, p)
ump->um_seqinc = EXT2_FRAGS_PER_BLOCK(fs);
for (i = 0; i < MAXQUOTAS; i++)
ump->um_quotas[i] = NULLVP;
- devvp->v_specflags |= SI_MOUNTEDON;
- if (ronly == 0)
- ext2_sbupdate(ump, MNT_WAIT);
+ devvp->v_specmountpoint = mp;
+ if (ronly == 0)
+ ext2_sbupdate(ump, MNT_WAIT);
return (0);
out:
if (bp)
@@ -706,7 +706,7 @@ ext2_unmount(mp, mntflags, p)
if (fs->s_block_bitmap[i])
ULCK_BUF(fs->s_block_bitmap[i])
- ump->um_devvp->v_specflags &= ~SI_MOUNTEDON;
+ ump->um_devvp->v_specmountpoint = NULL;
error = VOP_CLOSE(ump->um_devvp, ronly ? FREAD : FREAD|FWRITE,
NOCRED, p);
vrele(ump->um_devvp);
OpenPOWER on IntegriCloud