]> bbs.cooldavid.org Git - net-next-2.6.git/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)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 17 Sep 2010 13:00:10 +0000 (14:00 +0100)
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>
fs/gfs2/log.c

index cde1248a62255ae9bdb03b4c2757a71e973fa089..ac750bd31a6f311e8a3dfc859a257c6f85b2f79d 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())