From: Kautuk Consul Date: Tue, 15 Nov 2011 22:52:34 +0000 (-0800) Subject: devtmpfsd: fix task state handling X-Git-Tag: v3.3-rc1~30^2~1^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65e6757be42ddf0a9115ec0e6af268fec9727359;p=pandora-kernel.git devtmpfsd: fix task state handling - Set the state to TASK_INTERRUPTIBLE using __set_current_state() instead of set_current_state() as the spin_unlock is an implicit memory barrier. - After return from schedule(), there is no need to set the current state to TASK_RUNNING - a call to schedule() always returns in TASK_RUNNING state. Signed-off-by: Kautuk Consul Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed