aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext4/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 1e824a3ec538..670ab15e4f9a 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3850,14 +3850,14 @@ out:
3850 } 3850 }
3851 wq = EXT4_SB(io_end->inode->i_sb)->dio_unwritten_wq; 3851 wq = EXT4_SB(io_end->inode->i_sb)->dio_unwritten_wq;
3852 3852
3853 /* queue the work to convert unwritten extents to written */
3854 queue_work(wq, &io_end->work);
3855
3856 /* Add the io_end to per-inode completed aio dio list*/ 3853 /* Add the io_end to per-inode completed aio dio list*/
3857 ei = EXT4_I(io_end->inode); 3854 ei = EXT4_I(io_end->inode);
3858 spin_lock_irqsave(&ei->i_completed_io_lock, flags); 3855 spin_lock_irqsave(&ei->i_completed_io_lock, flags);
3859 list_add_tail(&io_end->list, &ei->i_completed_io_list); 3856 list_add_tail(&io_end->list, &ei->i_completed_io_list);
3860 spin_unlock_irqrestore(&ei->i_completed_io_lock, flags); 3857 spin_unlock_irqrestore(&ei->i_completed_io_lock, flags);
3858
3859 /* queue the work to convert unwritten extents to written */
3860 queue_work(wq, &io_end->work);
3861 iocb->private = NULL; 3861 iocb->private = NULL;
3862} 3862}
3863 3863