]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: output more information when aborting a unused transaction handle
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 6 Sep 2012 10:04:44 +0000 (04:04 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:13 +0000 (15:19 -0400)
commit28ac83dd70794e159b1f3e9c0a8de21115285d74
treec353f29055286be143052b6b08daa72152489bc2
parent0020a786091580209f06611e89eb8f74f3430415
Btrfs: output more information when aborting a unused transaction handle

Though we dump the stack information when aborting a unused transaction
handle, we don't know the correct place where we decide to abort the
transaction handle if one function has several place where the transaction
abort function is invoked and jumps to the same place after this call.
And beside that we also don't know the reason why we jump to abort
the current handle. So I modify the transaction abort function and make
it output the function name, line and error information.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/super.c