diff options
Diffstat (limited to 'db2/mp/mp_fput.c')
-rw-r--r-- | db2/mp/mp_fput.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db2/mp/mp_fput.c b/db2/mp/mp_fput.c index 5675493137..48fdfc3b7f 100644 --- a/db2/mp/mp_fput.c +++ b/db2/mp/mp_fput.c @@ -125,7 +125,7 @@ memp_fput(dbmfp, pgaddr, flags) * next time the memp_sync function runs we try writing it there, as * the checkpoint application better be able to write all of the files. */ - if (F_ISSET(bhp, BH_WRITE)) + if (F_ISSET(bhp, BH_WRITE)) { if (F_ISSET(bhp, BH_DIRTY)) { if (__memp_bhwrite(dbmp, dbmfp->mfp, bhp, NULL, &wrote) != 0 || !wrote) @@ -136,6 +136,7 @@ memp_fput(dbmfp, pgaddr, flags) --dbmfp->mfp->lsn_cnt; --mp->lsn_cnt; } + } /* Move the buffer to the head/tail of the LRU chain. */ SH_TAILQ_REMOVE(&mp->bhq, bhp, q, __bh); |