From 5e7832253ca81f9f06343b7f57072c2e25123284 Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 31 Aug 2003 01:07:45 +0000 Subject: [PATCH] - If there is no vp assume that BKGRDINPROG is not set and set RELPBUF in brelse(). --- sys/kern/vfs_bio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index c18795b2ca82..bea2269dc895 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; } /*