MFC r203818:

Clear the bp pointer when buffer is already brelse()d.
This commit is contained in:
Konstantin Belousov 2010-02-20 11:50:50 +00:00
parent a510b78b19
commit c84124c0d4

View File

@ -425,8 +425,10 @@ nospace:
reclaimed = 1;
softdep_request_cleanup(fs, vp);
UFS_UNLOCK(ump);
if (bp)
if (bp) {
brelse(bp);
bp = NULL;
}
UFS_LOCK(ump);
goto retry;
}