mirror of https://gitee.com/openkylin/linux.git
6c20ec8503
The transaction can potentially get dropped if there are no buffers that need to be written. Make sure we call the commit callback before potentially deciding to drop the transaction. Also avoid dereferencing the commit_transaction pointer in the marker for the same reason. This patch fixes the bug reported by Eric Paris at: http://bugzilla.kernel.org/show_bug.cgi?id=11838 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Acked-by: Eric Sandeen <sandeen@redhat.com> Tested-by: Eric Paris <eparis@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
checkpoint.c | ||
commit.c | ||
journal.c | ||
recovery.c | ||
revoke.c | ||
transaction.c |