lib_log: fix mref_flying

This commit is contained in:
Thomas Schoebel-Theuer 2012-12-11 13:51:07 +01:00 committed by Thomas Schoebel-Theuer
parent c0729b3b30
commit 14e9a5c1d5
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,6 @@ void log_write_endio(struct generic_callback *cb)
logst = cb_info->logst;
CHECK_PTR(logst, done);
atomic_dec(&logst->mref_flying);
MARS_IO("nr_cb = %d\n", cb_info->nr_cb);
@ -115,6 +114,7 @@ void log_write_endio(struct generic_callback *cb)
done:
put_log_cb_info(cb_info);
atomic_dec(&logst->mref_flying);
return;
err: