aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-is_owner_or_cap.m4
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-05-22 02:38:17 +0200
committerBrian Behlendorf <[email protected]>2021-05-26 15:26:06 -0700
commit69cbd0a360e9c09b8a09046c1a373099e14281e8 (patch)
tree7156d5e6d01c7933881bd6569cf18091ed6b86ef /config/kernel-is_owner_or_cap.m4
parent202498c9583e98152e1e748b8639743943e022d2 (diff)
Various Linux kABI cosmetics
Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12103
Diffstat (limited to 'config/kernel-is_owner_or_cap.m4')
-rw-r--r--config/kernel-is_owner_or_cap.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/config/kernel-is_owner_or_cap.m4 b/config/kernel-is_owner_or_cap.m4
index 3c3c6ad22..a90cf3da6 100644
--- a/config/kernel-is_owner_or_cap.m4
+++ b/config/kernel-is_owner_or_cap.m4
@@ -4,6 +4,10 @@ dnl # The is_owner_or_cap() macro was renamed to inode_owner_or_capable(),
dnl # This is used for permission checks in the xattr and file attribute call
dnl # paths.
dnl #
+dnl # 5.12 API change,
+dnl # inode_owner_or_capable() now takes struct user_namespace *
+dnl # to support idmapped mounts
+dnl #
AC_DEFUN([ZFS_AC_KERNEL_SRC_INODE_OWNER_OR_CAPABLE], [
ZFS_LINUX_TEST_SRC([inode_owner_or_capable], [
#include <linux/fs.h>