aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2022-04-04 20:06:46 +0000
committerDavid Teigland <[email protected]>2022-04-06 19:03:01 +0000
commit2c3fa6ae4d520d59727dac33a3e14d42f3dd36d8 (patch)
treec4ddab6fb85656e2274f910aaf476a151273a8e0 /fs/jbd2/commit.c
parentdlm: cleanup lock handling in dlm_master_lookup (diff)
downloadkernel-2c3fa6ae4d520d59727dac33a3e14d42f3dd36d8.tar.gz
kernel-2c3fa6ae4d520d59727dac33a3e14d42f3dd36d8.zip
dlm: check required context while close
This patch adds a WARN_ON() check to validate the right context while dlm_midcomms_close() is called. Even before commit 489d8e559c65 ("fs: dlm: add reliable connection if reconnect") in this context dlm_lowcomms_close() flushes all ongoing transmission triggered by dlm application stack. If we do that, it's required that no new message will be triggered by the dlm application stack. The function dlm_midcomms_close() is not called often so we can check if all lockspaces are in such context. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions