diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-02-19 15:41:13 +0000 |
|---|---|---|
| committer | Chandan Babu R <[email protected]> | 2024-02-19 21:19:33 +0530 |
| commit | 785dd131525060c87994ff077ea3376f05c98304 (patch) | |
| tree | acd84dfed3a2af3570982c6801ce674c9610cf9d /tools/perf/scripts/python | |
| parent | 3fed24fffc76dd1a8105db558e98bc8355d60379 (diff) | |
xfs: Remove mrlock wrapper
mrlock was an rwsem wrapper that also recorded whether the lock was
held for read or write. Now that we can ask the generic code whether
the lock is held for read or write, we can remove this wrapper and use
an rwsem directly.
As the comment says, we can't use lockdep to assert that the ILOCK is
held for write, because we might be in a workqueue, and we aren't able
to tell lockdep that we do in fact own the lock.
Reviewed-by: "Darrick J. Wong" <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: "Matthew Wilcox (Oracle)" <[email protected]>
Signed-off-by: Chandan Babu R <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions