]> git.hungrycats.org Git - linux/commitdiff
GFS2: gfs2_logd should be using interruptible waits
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 9 Sep 2010 13:45:00 +0000 (14:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 00:18:31 +0000 (17:18 -0700)
commit 5f4874903df3562b9d5649fc1cf7b8c6bb238e42 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/gfs2/log.c

index 6a857e24f9477f7fe8fbdb710220d8d05964a95e..83917b50a196cb49d00d206c4d9f0c87ca3d6e68 100644 (file)
@@ -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())