summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorEric Sandeen2015-02-24 00:15:18 +0100
committerDave Chinner2015-02-24 00:15:18 +0100
commit83d5f01858b56db69c8e4ca5389ef7c29bfdb5dd (patch)
tree37df1f495145231bb6ac5ca8de571849ae0c1aa8 /fs/xfs/xfs_super.c
parentxfs: Ensure we have target_ip for RENAME_EXCHANGE (diff)
downloadkernel-qcow2-linux-83d5f01858b56db69c8e4ca5389ef7c29bfdb5dd.tar.gz
kernel-qcow2-linux-83d5f01858b56db69c8e4ca5389ef7c29bfdb5dd.tar.xz
kernel-qcow2-linux-83d5f01858b56db69c8e4ca5389ef7c29bfdb5dd.zip
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 <ssandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
0 files changed, 0 insertions, 0 deletions