block/swim_iop: replace direct
Subsystems (2)
PATCH 7/8 block/swim_iop: replace direct
Any comments would be appreciated.
Description: set_current_state() is used instead of direct assignment of current->state.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/block/swim_iop.c +1 -1
@@ -338,7 +338,7 @@ static int swimiop_eject(struct floppy_s err = -EINTR ;break ; } - current->state =TASK_INTERRUPTIBLE ; +set_current_state (TASK_INTERRUPTIBLE );schedule_timeout (1 ); }release_drive (fs);
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors