Chung-Chiang Cheng <cccheng@xxxxxxxxxxxx> writes: > creation time is no longer mixed with change time. Add a in-memory > field for it, and report it in statx. > [...] > + > + if (request_mask & STATX_BTIME) { > + stat->result_mask |= STATX_BTIME; > + stat->btime = MSDOS_I(inode)->i_crtime; > + } > + [...] > - if (sbi->options.isvfat) > + if (sbi->options.isvfat) { > fat_time_fat2unix(sbi, &inode->i_atime, 0, de->adate, 0); > - else > + fat_time_fat2unix(sbi, &MSDOS_I(inode)->i_crtime, de->ctime, > + de->cdate, de->ctime_cs); > + } else { > fat_truncate_atime(sbi, &inode->i_mtime, &inode->i_atime); > + fat_truncate_crtime(sbi, &inode->i_mtime, &MSDOS_I(inode)->i_crtime); > + } This looks strange. MSDOS doesn't have crtime, but set the fake time from mtime and returns to userspace. Why don't we disable STATX_BTIME for MSDOS? Thanks. -- OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>