[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070414084819.GC14084@arun.site>
Date: Sat, 14 Apr 2007 14:18:19 +0530
From: Milind Arun Choudhary <milindchoudhary@...il.com>
To: kernel-janitors@...ts.osdl.org, ocfs2-devel@....oracle.com
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
mark.fasheh@...cle.com, kurt.hackel@...cle.com
Subject: [KJ][PATCH 02/04]use set_current_state in fs
use set_current_state(TASK_*) instead of current->state = TASK_*, in fs/ocfs2
Signed-off-by: Milind Arun Choudhary <milindchoudhary@...il.com>
---
dlmthread.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c
index 2b264c6..26f4474 100644
--- a/fs/ocfs2/dlm/dlmthread.c
+++ b/fs/ocfs2/dlm/dlmthread.c
@@ -76,7 +76,7 @@ repeat:
goto repeat;
}
remove_wait_queue(&res->wq, &wait);
- current->state = TASK_RUNNING;
+ set_current_state(TASK_RUNNING);
}
int __dlm_lockres_has_locks(struct dlm_lock_resource *res)
--
Milind Arun Choudhary
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists