projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-v4.1-rc1' of git://git.linaro.org/people/mszyprowski/linux-dma...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
sysv
/
itree.c
diff --git
a/fs/sysv/itree.c
b/fs/sysv/itree.c
index c1a591a4725b0ba4344862f97e7ab2c72de974f6..66bc316927e8a01f60a387aa19bac4ab81abcd87 100644
(file)
--- a/
fs/sysv/itree.c
+++ b/
fs/sysv/itree.c
@@
-469,7
+469,7
@@
static void sysv_write_failed(struct address_space *mapping, loff_t to)
struct inode *inode = mapping->host;
if (to > inode->i_size) {
- truncate_pagecache(inode,
to,
inode->i_size);
+ truncate_pagecache(inode, inode->i_size);
sysv_truncate(inode);
}
}