summaryrefslogtreecommitdiff
path: root/fs/ntfs3/inode.c
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2024-01-26 11:12:38 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2024-01-29 10:48:33 +0300
commit4fd6c08a16d7f1ba10212c9ef7bc73218144b463 (patch)
tree9f86834d3d7fd0405de514b5a1cdf43c9e8e2b7e /fs/ntfs3/inode.c
parent5ca87d01eba7bdfe9536a157ca33c1455bb8d16c (diff)
fs/ntfs3: Use i_size_read and i_size_write
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/inode.c')
-rw-r--r--fs/ntfs3/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c
index 85452a6b1d40..eb7a8c9fba01 100644
--- 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) {
- inode->i_size = pos + err;
+ i_size_write(inode, pos + err);
dirty = true;
}