aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2022-04-06 17:34:15 +0000
committerDavid Teigland <[email protected]>2022-04-06 19:03:05 +0000
commitf6f7418357457ed58cbb020fc97e74d4e0e7b47f (patch)
tree5067609d4f83cb0d923714364ea843cd8a2e8d7f /fs/jbd2/commit.c
parentdlm: check required context while close (diff)
downloadkernel-f6f7418357457ed58cbb020fc97e74d4e0e7b47f.tar.gz
kernel-f6f7418357457ed58cbb020fc97e74d4e0e7b47f.zip
dlm: fix wake_up() calls for pending remove
This patch move the wake_up() call at the point when a remove message completed. Before it was only when a remove message was going to be sent. The possible waiter in wait_pending_remove() waits until a remove is done if the resource name matches with the per ls variable ls->ls_remove_name. If this is the case we must wait until a pending remove is done which is indicated if DLM_WAIT_PENDING_COND() returns false which will always be the case when ls_remove_len and ls_remove_name are unset to indicate that a remove is not going on anymore. Fixes: 21d9ac1a5376 ("fs: dlm: use event based wait for pending remove") Cc: [email protected] 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