diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-10-28 21:08:20 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-10-28 21:08:20 -0400 |
commit | 6c20ec850360bc6e5c66a787f0523a80450d65ab (patch) | |
tree | 567f496cf53dbfbc235809edac134e0247a062c8 /fs/inotify.c | |
parent | ef2cabf7c6d838eb0ee2b4fb8ef84f7c06ce16d9 (diff) |
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/inotify.c')
0 files changed, 0 insertions, 0 deletions