summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2026-04-27 11:59:35 -0400
committerDavid Teigland <teigland@redhat.com>2026-05-08 08:38:03 -0500
commite61113cfcaf71cbdf4c17e3d086d8fb7f92c62bf (patch)
tree4c638ca91b854685e788ef3d8f660b256db5f5f1 /include/linux
parentd2248cb70c070f8f04762872772e155b59016f17 (diff)
dlm: init per node debugfs before add to node hash
Avoiding potential issues when a node is added to the hash but the debugfs is not NULL or IS_ERR() so a potential iteration over the hash and debugfs_remove() will not fail like in dlm_midcomms_exit(). However dlm_midcomms_exit() will be called in module init/exit function and the hash should be empty anyway at those stages. We change the behavior as cleanup to avoid potential issues. Reported-by: Ginger <ginger.jzllee@gmail.com> Closes: https://lore.kernel.org/gfs2/CAGp+u1ZE7UsQ4sSUHBKQXU8x3M_jwK=ek1urSjEtd3jXQGFmVg@mail.gmail.com Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions