diff options
author | Jason Gunthorpe <[email protected]> | 2023-07-17 15:12:11 -0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2023-07-26 10:20:21 -0300 |
commit | 83f7bc6fdfd2fca11f35c061194d60f88acb3086 (patch) | |
tree | f755bb24f7583042167de06ab6074708a032a1c1 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | e88d4ec154a87884086d3e38f2dfc66aec11bf8c (diff) |
iommufd: Make destroy_rwsem use a lock class per object type
The selftest invokes things like replace under the object lock of its
idev which protects the idev in a similar way to a real user.
Unfortunately this triggers lockdep. A lock class per type will solve the
problem.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Kevin Tian <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions