summaryrefslogtreecommitdiffstats
path: root/fs/ntfs3
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2023-11-28 11:17:20 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2023-12-06 17:46:16 +0300
commit652483bfbc45137e8dce556c9ddbd4458dad4452 (patch)
tree5fae758e561bf4cc8cedde381c47a0ec01d7cbd1 /fs/ntfs3
parentaaab47f204aaf47838241d57bf8662c8840de60a (diff)
downloadlinux-652483bfbc45137e8dce556c9ddbd4458dad4452.tar.gz
linux-652483bfbc45137e8dce556c9ddbd4458dad4452.tar.bz2
linux-652483bfbc45137e8dce556c9ddbd4458dad4452.zip
fs/ntfs3: Fix c/mtime typo
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3')
-rw-r--r--fs/ntfs3/frecord.c2
1 files changed, 1 insertions, 1 deletions
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) {
std->c_time = dup.c_time;