summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2023-09-22 13:01:04 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2023-09-28 15:03:59 +0300
commit3f2f09f18972dc4548feebd9946c10c04351333d (patch)
tree986e55b6f4b0d80f95ee4a1fa7d0cd792c0c1f05 /fs
parent91a4b1ee78cb100b19b70f077c247f211110348f (diff)
downloadlinux-stable-3f2f09f18972dc4548feebd9946c10c04351333d.tar.gz
linux-stable-3f2f09f18972dc4548feebd9946c10c04351333d.tar.bz2
linux-stable-3f2f09f18972dc4548feebd9946c10c04351333d.zip
fs/ntfs3: Use inode_set_ctime_to_ts instead of inode_set_ctime
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs')
-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 eb2ed0701495..2f76dc055c1f 100644
--- a/fs/ntfs3/inode.c
+++ b/fs/ntfs3/inode.c
@@ -170,8 +170,8 @@ next_attr:
nt2kernel(std5->cr_time, &ni->i_crtime);
#endif
nt2kernel(std5->a_time, &inode->i_atime);
- ctime = inode_get_ctime(inode);
nt2kernel(std5->c_time, &ctime);
+ inode_set_ctime_to_ts(inode, ctime);
nt2kernel(std5->m_time, &inode->i_mtime);
ni->std_fa = std5->fa;