OSDN Git Service

gfs2: print details on transactions that aren't properly ended
authorBob Peterson <rpeterso@redhat.com>
Thu, 23 Jul 2020 18:14:07 +0000 (13:14 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 7 Aug 2020 10:19:13 +0000 (12:19 +0200)
commitb0be23b23f6cdeb61d154fef72cd82f8f99f9ca4
treeec83259c21e03ff24ba38f816d008a9c7a4d0f46
parentb57bc0fb2fe403b687142d12fba4ad085f8be6ee
gfs2: print details on transactions that aren't properly ended

If function gfs2_trans_begin is called with another transaction active
it BUGs out, but it doesn't give any details about the duplicate.
This patch moves function gfs2_print_trans and calls it when this
situation arises for better debugging.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/trans.c