fs/ntfs3: Use inode_set_ctime_to_ts instead of inode_set_ctime

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
Konstantin Komarov 2023-09-22 13:01:04 +03:00
parent 91a4b1ee78
commit 3f2f09f189
No known key found for this signature in database
GPG Key ID: A9B0331F832407B6

View 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;