diff options
author | jeff <jeff@FreeBSD.org> | 2003-08-31 01:07:45 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-08-31 01:07:45 +0000 |
commit | 5e7832253ca81f9f06343b7f57072c2e25123284 (patch) | |
tree | 461b1fb9fd5d0d88957f1bc33f9b727682668563 /sys/kern/vfs_bio.c | |
parent | 0008f2bb1d90e6b98f1a0fc612585a31ffd959cf (diff) | |
download | FreeBSD-src-5e7832253ca81f9f06343b7f57072c2e25123284.zip FreeBSD-src-5e7832253ca81f9f06343b7f57072c2e25123284.tar.gz |
- If there is no vp assume that BKGRDINPROG is not set and set RELPBUF in
brelse().
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index c18795b..bea2269 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1258,7 +1258,8 @@ brelse(struct buf * bp) if (!(bp->b_vflags & BV_BKGRDINPROG)) bp->b_flags |= B_RELBUF; VI_UNLOCK(bp->b_vp); - } + } else + bp->b_flags |= B_RELBUF; } /* |