aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-04-24 10:39:49 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-04-26 12:28:55 -0700
commitf60be90fc9a969d8d38d761aef1c930407a6a921 (patch)
treed773b5fd7c8521cf39cba44bbb4f1baab7753361 /tools/perf/scripts/python/export-to-postgresql.py
parentxfs: unlock inode when xfs_ioctl_setattr_get_trans can't get transaction (diff)
downloadwireguard-linux-f60be90fc9a969d8d38d761aef1c930407a6a921.tar.xz
wireguard-linux-f60be90fc9a969d8d38d761aef1c930407a6a921.zip
xfs: fix broken bhold behavior in xrep_roll_ag_trans
In xrep_roll_ag_trans, the transaction roll will always set sc->tp to the new transaction, even if committing the old one fails. A bare transaction roll leaves the buffer(s) locked but not joined to the new transaction, so it's not necessary to release the hold if the roll fails. Remove the incorrect xfs_trans_bhold_release calls. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions