[1/8] fs/ntfs3: Use inode_set_ctime_to_ts instead of inode_set_ctime

Message ID 48fb5955-7d88-4133-8c85-47eb53248825@paragon-software.com
State New
Headers
Series fs/ntfs3: Bugfix and refactoring |

Commit Message

Konstantin Komarov Sept. 26, 2023, 9:55 a.m. UTC
  Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>

---
  fs/ntfs3/inode.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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 @@  static struct inode *ntfs_read_mft(struct inode *inode,
          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;