OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_6-19-ge790225
Gerrit Code Review
Thu, 27 Aug 2020 12:41:01 -0400
The following commit has been merged in the openafs-stable-1_8_x branch:
Author: Cheyenne Wills <email@example.com>
Date: Fri Aug 21 10:37:51 2020 -0600
LINUX 5.9: Remove HAVE_UNLOCKED_IOCTL/COMPAT_IOCTL
Linux-5.9-rc1 commit 'fs: remove the HAVE_UNLOCKED_IOCTL and
HAVE_COMPAT_IOCTL defines' (4e24566a) removed the two referenced macros
from the kernel.
The support for unlocked_ioctl and compat_ioctl were introduced in
Remove references to HAVE_UNLOCKED_IOCTL and HAVE_COMPAT_IOCTL using
the assumption that they were always defined.
With this change, building against kernels 2.6.10 and older will fail.
RHEL4 (EOL in March 2017) used a 2.6.9 kernel. RHEL5 uses a 2.6.18
In linux-2.6.33-rc1 the commit messages for "staging: comedi:
Remove check for HAVE_UNLOCKED_IOCTL" (00a1855c) and "Staging: comedi:
remove check for HAVE_COMPAT_IOCTL" (5d7ae225) both state that all new
kernels have support for unlocked_ioctl/compat_ioctl so the checks can
be removed along with removing support for older kernels.
Reviewed-by: Benjamin Kaduk <firstname.lastname@example.org>
Tested-by: Benjamin Kaduk <email@example.com>
(cherry picked from commit 13a49aaf0d5c43bce08135edaabb65587e1a8031)
Tested-by: BuildBot <firstname.lastname@example.org>
Reviewed-by: Andrew Deason <email@example.com>
Reviewed-by: Stephan Wiesand <firstname.lastname@example.org>
src/afs/LINUX/osi_ioctl.c | 25 ++-----------------------
src/afs/LINUX/osi_vnodeops.c | 14 --------------
2 files changed, 2 insertions(+), 37 deletions(-)
OpenAFS Master Repository