diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 89c47f4ee00..b644b9c164a 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -2656,8 +2656,8 @@ static void ext4_end_io_dio(struct kiocb *iocb, loff_t offset, 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; + queue_work(wq, &io_end->work); /* XXX: probably should move into the real I/O completion handler */ inode_dio_done(inode);