OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-294-g8962767
Gerrit Code Review
gerrit@openafs.org
Thu, 16 Nov 2023 12:20:52 -0500
The following commit has been merged in the master branch:
commit 8962767a7e27f8db9dc9001999edf573be706d66
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Thu Nov 9 10:38:29 2023 -0700
Linux 6.7: convert to inode a/mtime accessor funcs
The Linux 6.7 commit "fs: new accessor methods for atime and mtime"
(077c212f03) is a follow up to the Linux 6.6 commit "fs: add ctime
accessors infrastructure" (9b6304c1d5)
With the above 6.7 commit, the inode's i_atime and i_mtime are renamed
to __i_atime and __i_mtime and accessing these members should use the
new accessor functions.
This commit is similar to the OpenAFS commit "Linux 6.6: convert to
ctime accessor functions" (072c7934cd1)
Add autoconf tests to detect when we need to use the new accessors and
introduce new wrapper functions to get and set an inode's atime and
mtime.
Note, unlike the (072c7934cd1) commit, we need to add support for
reading an inode's atime and mtime, so this commit has the getters for
the atime and mtime members.
Change-Id: Ide818c946ed98a1401ef59864c2cdb4eccee9c99
Reviewed-on: https://gerrit.openafs.org/15597
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_file.c | 5 ++---
src/afs/LINUX/osi_machdep.h | 29 +++++++++++++++++++++++++++++
src/afs/LINUX/osi_vnodeops.c | 6 ++----
src/cf/linux-kernel-func.m4 | 8 ++++++++
4 files changed, 41 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository