summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-04-23 02:28:34 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2019-04-23 18:36:23 +0300
commit3de5eab3fde1e379be65973a69ded29da3802133 (patch)
treecf6e32509f6dff7959066d0664217524b1e36869 /scripts/gdb/linux/utils.py
parent078f4a7d31092a439f81c21b81b4d9cef9994726 (diff)
downloadlinux-3de5eab3fde1e379be65973a69ded29da3802133.tar.xz
xfs: unlock inode when xfs_ioctl_setattr_get_trans can't get transaction
We passed an inode into xfs_ioctl_setattr_get_trans with join_flags indicating which locks are held on that inode. If we can't allocate a transaction then we need to unlock the inode before we bail out, like all the other error paths do. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions