summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2010-09-09 15:45:00 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2010-09-17 15:00:10 +0200
commit5f4874903df3562b9d5649fc1cf7b8c6bb238e42 (patch)
treeb66dbafa2fd3f32c6df72752d95cad260abd35bd
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 (diff)
downloadlinux-5f4874903df3562b9d5649fc1cf7b8c6bb238e42.tar.xz
linux-5f4874903df3562b9d5649fc1cf7b8c6bb238e42.zip
GFS2: gfs2_logd should be using interruptible waits
Looks like this crept in, in a recent update. Reported-by: Krzysztof Urbaniak <urban@bash.org.pl> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
-rw-r--r--fs/gfs2/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index cde1248a6225..ac750bd31a6f 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -932,7 +932,7 @@ int gfs2_logd(void *data)
do {
prepare_to_wait(&sdp->sd_logd_waitq, &wait,
- TASK_UNINTERRUPTIBLE);
+ TASK_INTERRUPTIBLE);
if (!gfs2_ail_flush_reqd(sdp) &&
!gfs2_jrnl_flush_reqd(sdp) &&
!kthread_should_stop())