]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - block/blk-ioc.c
Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze
[mv-sheeva.git] / block / blk-ioc.c
index 33fae7df16a016d7ccbb0ccb6b3f78e47d9f0765..27a06e00eaec4312c5596ad58ebaa7fcc8c438ef 100644 (file)
@@ -230,9 +230,6 @@ void exit_io_context(struct task_struct *task)
 {
        struct io_context *ioc;
 
-       /* PF_EXITING prevents new io_context from being attached to @task */
-       WARN_ON_ONCE(!(current->flags & PF_EXITING));
-
        task_lock(task);
        ioc = task->io_context;
        task->io_context = NULL;