Skip to contentSkip to conversation

janitor: sched_timeout() sets curr_state (atm)

PATCH Applied Randy.Dunlap 2 participants 2 messages Oct 6, 2003 – Oct 7, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 janitor: sched_timeout() sets curr_state (atm)

Hi,
Please apply to 2.6.0-test6-current.

--
~Randy

From: Alexey Dobriyan <[email protected]>

 linux-260-test6-kj1-rddunlap/drivers/atm/he.c |    1 -
 1 files changed, 1 deletion(-)
drivers/atm/he.c renamed from drivers/atm/he.c~atm_he_taskrun +0 -1
diff -puN drivers/atm/he.c~atm_he_taskrun drivers/atm/he.c
@@ -2633,7 +2633,6 @@ he_close(struct atm_vcc *vcc)
 		       (retry < MAX_RETRY)) {
 			set_current_state(TASK_UNINTERRUPTIBLE);
 			(void) schedule_timeout(sleep);
-			set_current_state(TASK_RUNNING);
 			if (sleep < HZ)
 				sleep = sleep * 2;
 

_

#1 lore raw
Quoted 4 lines · On Sun, 5 Oct 2003 20:34:25 -0700 "Randy.Dunlap" <[email protected]> wrote:

From: Alexey Dobriyan <[email protected]>

 linux-260-test6-kj1-rddunlap/drivers/atm/he.c |    1 -
 1 files changed, 1 deletion(-)

Applied, thanks Randy.