]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcache: Convert to lock_cmp_fn
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 9 May 2023 19:58:47 +0000 (15:58 -0400)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 24 May 2023 10:21:22 +0000 (12:21 +0200)
commit4c8a49244c6abc5fb829d81abaaf2435ad2a44bf
tree15fa287daa1e0e96afc79c00af246937208621d1
parenteb1cfd09f788e39948a82be8063e54e40dd018d9
bcache: Convert to lock_cmp_fn

Replace one of bcache's lockdep_set_novalidate_class() usage with the
newly introduced custom lock nesting annotation.

[peterz: changelog]
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Coly Li <colyli@suse.de>
Link: https://lkml.kernel.org/r/20230509195847.1745548-2-kent.overstreet@linux.dev
drivers/md/bcache/btree.c
drivers/md/bcache/btree.h