diff options
| author | Eric Sandeen <[email protected]> | 2015-02-24 10:15:18 +1100 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2015-02-24 10:15:18 +1100 |
| commit | 83d5f01858b56db69c8e4ca5389ef7c29bfdb5dd (patch) | |
| tree | 37df1f495145231bb6ac5ca8de571849ae0c1aa8 /scripts/gdb/linux/config.py | |
| parent | fc921566f4fcf4499e9a6d010391c00be199ab85 (diff) | |
xfs: cancel failed transaction in xfs_fs_commit_blocks()
If xfs_trans_reserve fails we don't cancel the transaction,
and we'll leak the allocated transaction pointer.
Spotted by Coverity.
Signed-off-by: Eric Sandeen <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions