summaryrefslogtreecommitdiff
path: root/fs/dlm/lvb_table.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-10-29 04:08:20 +0300
committerTheodore Ts'o <tytso@mit.edu>2008-10-29 04:08:20 +0300
commit6c20ec850360bc6e5c66a787f0523a80450d65ab (patch)
tree567f496cf53dbfbc235809edac134e0247a062c8 /fs/dlm/lvb_table.h
parentef2cabf7c6d838eb0ee2b4fb8ef84f7c06ce16d9 (diff)
downloadlinux-6c20ec850360bc6e5c66a787f0523a80450d65ab.tar.xz
jbd2: Call the commit callback before the transaction could get dropped
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>
Diffstat (limited to 'fs/dlm/lvb_table.h')
0 files changed, 0 insertions, 0 deletions