Fixed parenthesization botch in previous commit. Async update of inodes

was broken.
This commit is contained in:
Bruce Evans 1999-01-29 15:36:05 +00:00
parent 5a5375540a
commit ae4d334421
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=43395
2 changed files with 2 additions and 2 deletions

View File

@ -918,7 +918,7 @@ ext2_sync(mp, waitfor, cred, p)
if (vp->v_type == VNON ||
((ip->i_flag &
(IN_ACCESS | IN_CHANGE | IN_MODIFIED | IN_UPDATE)) == 0 &&
(TAILQ_EMPTY(&vp->v_dirtyblkhd))) || waitfor == MNT_LAZY) {
(TAILQ_EMPTY(&vp->v_dirtyblkhd) || waitfor == MNT_LAZY))) {
simple_unlock(&vp->v_interlock);
continue;
}

View File

@ -918,7 +918,7 @@ ext2_sync(mp, waitfor, cred, p)
if (vp->v_type == VNON ||
((ip->i_flag &
(IN_ACCESS | IN_CHANGE | IN_MODIFIED | IN_UPDATE)) == 0 &&
(TAILQ_EMPTY(&vp->v_dirtyblkhd))) || waitfor == MNT_LAZY) {
(TAILQ_EMPTY(&vp->v_dirtyblkhd) || waitfor == MNT_LAZY))) {
simple_unlock(&vp->v_interlock);
continue;
}