浏览代码

Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixes

* git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixes:
  GFS2: gfs2_logd should be using interruptible waits
Linus Torvalds 14 年之前
父节点
当前提交
80214df8db
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/gfs2/log.c

+ 1 - 1
fs/gfs2/log.c

@@ -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())