aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/file.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-11-26 09:41:09 +0100
committerThierry Reding <treding@nvidia.com>2014-11-26 09:42:11 +0100
commit7f06dd61248a75668bbb39b6fcca6ff407745df8 (patch)
tree30cefbd6f503d20557e24a1765a027687170a7da /fs/ext4/file.c
parentLinux 3.18-rc1 (diff)
parentpowerpc/iommu: Rename iommu_[un]map_sg functions (diff)
downloadlinux-dev-7f06dd61248a75668bbb39b6fcca6ff407745df8.tar.xz
linux-dev-7f06dd61248a75668bbb39b6fcca6ff407745df8.zip
Merge branch 'core' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu
This branch contains a couple of changes that will conflict with the Tegra SMMU driver rewrite. Since the driver is largely rewritten the conflict resolution is non-trivial.
Diffstat (limited to 'fs/ext4/file.c')
-rw-r--r--fs/ext4/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index aca7b24a4432..8131be8c0af3 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -137,10 +137,10 @@ ext4_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
iov_iter_truncate(from, sbi->s_bitmap_maxbytes - pos);
}
+ iocb->private = &overwrite;
if (o_direct) {
blk_start_plug(&plug);
- iocb->private = &overwrite;
/* check whether we do a DIO overwrite or not */
if (ext4_should_dioread_nolock(inode) && !aio_mutex &&