Dave Chinner 88b863db97 xfs: fix double free in xlog_recover_commit_trans
When an error occurs during buffer submission in
xlog_recover_commit_trans(), we free the trans structure twice. Fix
it by only freeing the structure in the caller regardless of the
success or failure of the function.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2014-09-29 09:45:32 +10:00
..
2014-07-30 09:12:05 +10:00
2014-03-07 16:19:14 +11:00
2013-11-06 16:31:27 -06:00
2014-07-15 08:07:01 +10:00
2013-05-07 18:45:36 -05:00
2012-11-19 20:11:24 -06:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2013-08-12 16:53:39 -05:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2014-06-25 14:58:08 +10:00
2014-08-04 13:22:49 +10:00
2014-08-04 13:28:20 +10:00
2013-08-12 16:56:06 -05:00
2013-05-07 18:45:36 -05:00
2014-07-15 08:07:01 +10:00
2014-06-25 14:58:08 +10:00
2014-07-24 20:49:57 +10:00
2014-07-30 09:12:05 +10:00
2014-07-30 09:12:05 +10:00
2014-06-25 14:58:08 +10:00
2014-07-30 09:12:05 +10:00
2014-06-25 14:58:08 +10:00
2013-05-07 18:45:36 -05:00