diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-01-26 11:12:38 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-01-29 10:48:33 +0300 |
commit | 4fd6c08a16d7f1ba10212c9ef7bc73218144b463 (patch) | |
tree | 9f86834d3d7fd0405de514b5a1cdf43c9e8e2b7e /fs/ntfs3/inode.c | |
parent | 5ca87d01eba7bdfe9536a157ca33c1455bb8d16c (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.c | 2 |
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; } |