diff options
author | tegge <tegge@FreeBSD.org> | 2005-10-09 22:41:25 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 2005-10-09 22:41:25 +0000 |
commit | 9797c80fe8f42499bdb5797944e4508e53a27c19 (patch) | |
tree | 3d6c8150a0a7a098d7432b186ee794d46b3e88a4 | |
parent | bf4479ad5f9a17b30bc4b21857a80107b1e7ee3b (diff) | |
download | FreeBSD-src-9797c80fe8f42499bdb5797944e4508e53a27c19.zip FreeBSD-src-9797c80fe8f42499bdb5797944e4508e53a27c19.tar.gz |
Release clean buffer with wrong size and no dependencies also for non-VMIO
case.
-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 { |