mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
Make this compile after soft updates integration.
LINTing forgotten by: julian
This commit is contained in:
parent
140aed06db
commit
3bfd185367
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34430
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user