Commit 3f2f09f1 authored by Konstantin Komarov's avatar Konstantin Komarov

fs/ntfs3: Use inode_set_ctime_to_ts instead of inode_set_ctime

Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent 91a4b1ee
...@@ -170,8 +170,8 @@ static struct inode *ntfs_read_mft(struct inode *inode, ...@@ -170,8 +170,8 @@ static struct inode *ntfs_read_mft(struct inode *inode,
nt2kernel(std5->cr_time, &ni->i_crtime); nt2kernel(std5->cr_time, &ni->i_crtime);
#endif #endif
nt2kernel(std5->a_time, &inode->i_atime); nt2kernel(std5->a_time, &inode->i_atime);
ctime = inode_get_ctime(inode);
nt2kernel(std5->c_time, &ctime); nt2kernel(std5->c_time, &ctime);
inode_set_ctime_to_ts(inode, ctime);
nt2kernel(std5->m_time, &inode->i_mtime); nt2kernel(std5->m_time, &inode->i_mtime);
ni->std_fa = std5->fa; ni->std_fa = std5->fa;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment