]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fs/ntfs3: Use inode_set_ctime_to_ts instead of inode_set_ctime
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 22 Sep 2023 10:01:04 +0000 (13:01 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 28 Sep 2023 12:03:59 +0000 (15:03 +0300)
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/inode.c

index eb2ed0701495f103e62093283b769777752bf85e..2f76dc055c1f35950160ace359109244b9a92a2b 100644 (file)
@@ -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;