From 006a0e8341e85e20f518b43e66d61e7654d10bf5 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 6 May 2024 14:14:39 -0700 Subject: [PATCH] Disable lockdep for procfs_list->pl_lock Signed-off-by: Brian Behlendorf --- module/os/linux/spl/spl-procfs-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/os/linux/spl/spl-procfs-list.c b/module/os/linux/spl/spl-procfs-list.c index 5e073950d61a..91840ed2ca22 100644 --- a/module/os/linux/spl/spl-procfs-list.c +++ b/module/os/linux/spl/spl-procfs-list.c @@ -234,7 +234,7 @@ procfs_list_install(const char *module, modulestr = kmem_asprintf("%s/%s", module, submodule); else modulestr = kmem_asprintf("%s", module); - mutex_init(&procfs_list->pl_lock, NULL, MUTEX_DEFAULT, NULL); + mutex_init(&procfs_list->pl_lock, NULL, MUTEX_NOLOCKDEP, NULL); list_create(&procfs_list->pl_list, procfs_list_node_off + sizeof (procfs_list_node_t), procfs_list_node_off + offsetof(procfs_list_node_t, pln_link));