MFC r203818:
Clear the bp pointer when buffer is already brelse()d.
This commit is contained in:
parent
a510b78b19
commit
c84124c0d4
@ -425,8 +425,10 @@ nospace:
|
|||||||
reclaimed = 1;
|
reclaimed = 1;
|
||||||
softdep_request_cleanup(fs, vp);
|
softdep_request_cleanup(fs, vp);
|
||||||
UFS_UNLOCK(ump);
|
UFS_UNLOCK(ump);
|
||||||
if (bp)
|
if (bp) {
|
||||||
brelse(bp);
|
brelse(bp);
|
||||||
|
bp = NULL;
|
||||||
|
}
|
||||||
UFS_LOCK(ump);
|
UFS_LOCK(ump);
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user