Commit 5f487490 authored by Steven Whitehouse's avatar Steven Whitehouse

GFS2: gfs2_logd should be using interruptible waits

Looks like this crept in, in a recent update.
Reported-by: default avatarKrzysztof Urbaniak <urban@bash.org.pl>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 03a7ab08
...@@ -932,7 +932,7 @@ int gfs2_logd(void *data) ...@@ -932,7 +932,7 @@ int gfs2_logd(void *data)
do { do {
prepare_to_wait(&sdp->sd_logd_waitq, &wait, prepare_to_wait(&sdp->sd_logd_waitq, &wait,
TASK_UNINTERRUPTIBLE); TASK_INTERRUPTIBLE);
if (!gfs2_ail_flush_reqd(sdp) && if (!gfs2_ail_flush_reqd(sdp) &&
!gfs2_jrnl_flush_reqd(sdp) && !gfs2_jrnl_flush_reqd(sdp) &&
!kthread_should_stop()) !kthread_should_stop())
......
Markdown is supported
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