Skip to content
Commit 29682b8a authored by Alexander Aring's avatar Alexander Aring Committed by Greg Kroah-Hartman
Browse files

fs: dlm: use WARN_ON_ONCE() instead of WARN_ON()



[ Upstream commit 775af207 ]

To not get the console spammed about WARN_ON() of invalid states in the
dlm midcomms hot path handling we switch to WARN_ON_ONCE() to get it
only once that there might be an issue with the midcomms state handling.

Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
Stable-dep-of: 7354fa4e ("fs: dlm: be sure to call dlm_send_queue_flush()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a3b0e9ac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment