Skip to content

Commit

Permalink
Disable lockdep for procfs_list->pl_lock
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Behlendorf <[email protected]>
  • Loading branch information
behlendorf committed May 6, 2024
1 parent 468571f commit 006a0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/os/linux/spl/spl-procfs-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 006a0e8

Please sign in to comment.