]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/block/swim_iop.c
[PATCH] v4l: 888: saa7113 renamed to saa711x
[karo-tx-linux.git] / drivers / block / swim_iop.c
index a1283f6dc0189e1ee0d3d7b0622ea875f2333b5d..89e3c2f8b77681bacd376ba480732d4e84b97b9d 100644 (file)
@@ -338,8 +338,7 @@ static int swimiop_eject(struct floppy_state *fs)
                        err = -EINTR;
                        break;
                }
-               current->state = TASK_INTERRUPTIBLE;
-               schedule_timeout(1);
+               schedule_timeout_interruptible(1);
        }
        release_drive(fs);
        return cmd->error;