[16/16] fs/ntfs3: Fix c/mtime typo

Message ID 8babdfbc-5be7-428d-9c23-ca8ed66f7ec5@paragon-software.com
State New
Headers
Series fs/ntfs3: Bugfix and refactoring |

Commit Message

Konstantin Komarov Dec. 6, 2023, 3:14 p.m. UTC
  Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
---
  fs/ntfs3/frecord.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

              std->c_time = dup.c_time;
  

Patch

diff --git a/fs/ntfs3/frecord.c b/fs/ntfs3/frecord.c
index 8744ba36d422..6ff4f70ba077 100644
--- a/fs/ntfs3/frecord.c
+++ b/fs/ntfs3/frecord.c
@@ -3291,7 +3291,7 @@  int ni_write_inode(struct inode *inode, int sync, 
const char *hint)
              modified = true;
          }

-        ts = inode_get_mtime(inode);
+        ts = inode_get_ctime(inode);
          dup.c_time = kernel2nt(&ts);
          if (std->c_time != dup.c_time) {