diff options
| author | Brian Foster <[email protected]> | 2020-05-06 13:25:23 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-05-07 08:27:47 -0700 |
| commit | 849274c103aeb149f23a81ba4a6bab42a5d77a78 (patch) | |
| tree | c4aacab947b522b18434b30b92949a6ad34e40a7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b707fffda6a3e1d0a46fceaa4c3f6c06b90f448a (diff) | |
xfs: acquire ->ail_lock from xfs_trans_ail_delete()
Several callers acquire the lock just prior to the call. Callers
that require ->ail_lock for other purposes already check IN_AIL
state and thus don't require the additional shutdown check in the
helper. Push the lock down into xfs_trans_ail_delete(), open code
the instances that still acquire it, and remove the unnecessary ailp
parameter.
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Allison Collins <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions