OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_13_2-91-geeb4f70
Gerrit Code Review
gerrit@openafs.org
Thu, 24 Jul 2025 13:16:18 -0400
The following commit has been merged in the openafs-stable-1_8_x branch:
commit eeb4f7012ce8b22ff24d073e52e837ef36507afb
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Thu Jun 26 10:08:49 2025 -0600
linux: Make iops mkdir return a struct dentry *
The Linux 6.15 commit:
'Change inode_operations.mkdir to return struct dentry *' (88d5baf69082)
changed the signature for the return value for mkdir member of the
inope_operations structure.
The new return value for mkdir needs to be as follows:
NULL if the directory was created and no other dentry was used
ERR_PTR() if an error occured
non-NULL pointer to a different dentry was used.
OpenAFS does not use a different dentry, so returning NULL or ERR_PTR
is sufficient.
Introduce a new autoconf check to determine if the inode_ops.mkdir needs
to return a pointer to a dentry.
Update afs_linux_mkdir to use ERR_PTR() on the return value.
Reviewed-on: https://gerrit.openafs.org/16373
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
(cherry picked from commit 0c0280ed1324252c487409f0db9a8e215575fef4)
Change-Id: I96af366fc70076980ba0ba10e4b30f1db0f65e78
Reviewed-on: https://gerrit.openafs.org/16419
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_vnodeops.c | 12 ++++++++++--
src/cf/linux-kernel-sig.m4 | 9 +++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository