diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-02-19 16:23:52 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-02-19 16:23:52 (GMT) |
commit | 1bc38a1d33a09949cfb6a12349e3c8dac867a5ab (patch) | |
tree | e3fa41f522857e3416854368b59e2e08c571f55d /fs/ext4/file.c | |
parent | ddf2965d77558eefee745c9dce22ad7ef5c7b88e (diff) | |
parent | a92444c6b2225a9115d661c950cb48a22aeace20 (diff) | |
download | linux-1bc38a1d33a09949cfb6a12349e3c8dac867a5ab.tar.xz |
Merge branch 'irq/for-arm' into irq/core
Pull the functionality which is required to cleanup sdhci/sdio
in. It's in a separate branch so it can be pulled from others
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/ext4/file.c')
-rw-r--r-- | fs/ext4/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 43e64f6..1a50739 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -152,7 +152,7 @@ ext4_file_dio_write(struct kiocb *iocb, const struct iovec *iov, if (ret > 0) { ssize_t err; - err = generic_write_sync(file, pos, ret); + err = generic_write_sync(file, iocb->ki_pos - ret, ret); if (err < 0 && ret > 0) ret = err; } |