HomeFreeBSD

Linux 6.7 compat: use inode atime/mtime accessors

Description

Linux 6.7 compat: use inode atime/mtime accessors

6.6 made i_ctime inaccessible; 6.7 has done the same for i_atime and
i_mtime. This extends the method used for ctime in b37f29341 to atime
and mtime as well.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://github.com/sponsors/robn
Closes #15681

Details

Provenance
rob.norris_klarasystems.comAuthored on Dec 16 2023, 11:31 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 20 2023, 7:47 PM
Parents
rG00f40961e0eb: Linux 6.7 compat: simplify current_time() check
Branches
Unknown
Tags
Unknown