|
@@ -3850,14 +3850,14 @@ out:
|
|
|
}
|
|
|
wq = EXT4_SB(io_end->inode->i_sb)->dio_unwritten_wq;
|
|
|
|
|
|
- /* queue the work to convert unwritten extents to written */
|
|
|
- queue_work(wq, &io_end->work);
|
|
|
-
|
|
|
/* Add the io_end to per-inode completed aio dio list*/
|
|
|
ei = EXT4_I(io_end->inode);
|
|
|
spin_lock_irqsave(&ei->i_completed_io_lock, flags);
|
|
|
list_add_tail(&io_end->list, &ei->i_completed_io_list);
|
|
|
spin_unlock_irqrestore(&ei->i_completed_io_lock, flags);
|
|
|
+
|
|
|
+ /* queue the work to convert unwritten extents to written */
|
|
|
+ queue_work(wq, &io_end->work);
|
|
|
iocb->private = NULL;
|
|
|
}
|
|
|
|