summaryrefslogtreecommitdiff
path: root/fs/sysv
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-01-27 05:01:05 +0300
committerChristian Brauner <brauner@kernel.org>2024-02-02 15:11:49 +0300
commit85f273a6a1e492afa7309fd23fcd8cb870085f56 (patch)
treee2e84ba0dd645a8da314738a50bb0878b32b35c4 /fs/sysv
parentad72872eb3ae634d1e4296a384baa81e85cc6acc (diff)
downloadlinux-85f273a6a1e492afa7309fd23fcd8cb870085f56.tar.xz
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 <viro@zeniv.linux.org.uk> Cc: Christian Brauner <brauner@kernel.org> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Link: https://lore.kernel.org/r/20240127020111.487218-2-kent.overstreet@linux.dev Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/sysv')
0 files changed, 0 insertions, 0 deletions