Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'exfat-for-6.7-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat

Pull exfat updates from Namjae Jeon:

- Fix an issue that exfat timestamps are not updated caused by new
timestamp accessor function patch

* tag 'exfat-for-6.7-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
exfat: fix ctime is not updated
exfat: fix setting uninitialized time to ctime/atime

+3 -2
+1
fs/exfat/file.c
··· 295 295 if (attr->ia_valid & ATTR_SIZE) 296 296 inode_set_mtime_to_ts(inode, inode_set_ctime_current(inode)); 297 297 298 + setattr_copy(&nop_mnt_idmap, inode, attr); 298 299 exfat_truncate_inode_atime(inode); 299 300 300 301 if (attr->ia_valid & ATTR_SIZE) {
+2 -2
fs/exfat/inode.c
··· 56 56 &ep->dentry.file.create_time, 57 57 &ep->dentry.file.create_date, 58 58 &ep->dentry.file.create_time_cs); 59 + ts = inode_get_mtime(inode); 59 60 exfat_set_entry_time(sbi, &ts, 60 61 &ep->dentry.file.modify_tz, 61 62 &ep->dentry.file.modify_time, 62 63 &ep->dentry.file.modify_date, 63 64 &ep->dentry.file.modify_time_cs); 64 - inode_set_mtime_to_ts(inode, ts); 65 + ts = inode_get_atime(inode); 65 66 exfat_set_entry_time(sbi, &ts, 66 67 &ep->dentry.file.access_tz, 67 68 &ep->dentry.file.access_time, 68 69 &ep->dentry.file.access_date, 69 70 NULL); 70 - inode_set_atime_to_ts(inode, ts); 71 71 72 72 /* File size should be zero if there is no cluster allocated */ 73 73 on_disk_size = i_size_read(inode);