diff options
author | Dave Chinner <[email protected]> | 2014-09-29 09:45:32 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2014-09-29 09:45:32 +1000 |
commit | 88b863db97a18a04c90ebd57d84e1b7863114dcb (patch) | |
tree | 785d344f08359851fe68ce952b939f7415ba92f6 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | e9131e50f9d0a632e3011d73f283ba69be0cc682 (diff) |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions