diff options
author | Kent Overstreet <[email protected]> | 2024-01-26 21:01:05 -0500 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-02-02 13:11:49 +0100 |
commit | 85f273a6a1e492afa7309fd23fcd8cb870085f56 (patch) | |
tree | e2e84ba0dd645a8da314738a50bb0878b32b35c4 /lib/debugobjects.c | |
parent | ad72872eb3ae634d1e4296a384baa81e85cc6acc (diff) |
fs/pipe: Convert to lockdep_cmp_fn
*_lock_nested() is fundamentally broken; lockdep needs to check lock
ordering, but we cannot device a total ordering on an unbounded number
of elements with only a few subclasses.
the replacement is to define lock ordering with a proper comparison
function.
fs/pipe.c was already doing everything correctly otherwise, nothing
much changes here.
Cc: Alexander Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Jan Kara <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions