1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Make this compile after soft updates integration.

LINTing forgotten by:	julian
This commit is contained in:
Eivind Eklund 1998-03-09 14:46:57 +00:00
parent 140aed06db
commit 3bfd185367
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34430
2 changed files with 8 additions and 8 deletions

View File

@ -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);

View File

@ -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);