diff options
-rw-r--r-- | sys/kern/vfs_bio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index dd11298..f475750 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -2396,8 +2396,7 @@ loop: bp->b_flags |= B_NOCACHE; bwrite(bp); } else { - if ((bp->b_flags & B_VMIO) && - (LIST_FIRST(&bp->b_dep) == NULL)) { + if (LIST_FIRST(&bp->b_dep) == NULL) { bp->b_flags |= B_RELBUF; brelse(bp); } else { |