projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs/ntfs3: Use i_size_read and i_size_write
[linux-block.git]
/
fs
/
ntfs3
/
inode.c
diff --git
a/fs/ntfs3/inode.c
b/fs/ntfs3/inode.c
index 85452a6b1d40a24ad0154a832a9120d949d8de3e..eb7a8c9fba0183f40096d673473be4dffaa7c4c8 100644
(file)
--- a/
fs/ntfs3/inode.c
+++ b/
fs/ntfs3/inode.c
@@
-985,7
+985,7
@@
int ntfs_write_end(struct file *file, struct address_space *mapping, loff_t pos,
}
if (pos + err > inode->i_size) {
- i
node->i_size = pos + err
;
+ i
_size_write(inode, pos + err)
;
dirty = true;
}