]) # LC_CONFIG_GSS_KEYRING
#
-# LC_HAVE_CRED_TGCRED
-#
-# rhel7 struct cred has no member tgcred
-#
-AC_DEFUN([LC_HAVE_CRED_TGCRED], [
-LB_CHECK_COMPILE([if 'struct cred' has member 'tgcred'],
-cred_tgcred, [
- #include <linux/cred.h>
-],[
- ((struct cred *)0)->tgcred = NULL;
-],[
- AC_DEFINE(HAVE_CRED_TGCRED, 1,
- [struct cred has member tgcred])
-])
-]) # LC_HAVE_CRED_TGCRED
-
-#
# LC_KEY_TYPE_INSTANTIATE_2ARGS
#
# rhel7 key_type->instantiate takes 2 args (struct key, struct key_preparsed_payload)
AS_IF([test "x$enable_gss" != xno], [
LC_CONFIG_GSS_KEYRING
- LC_HAVE_CRED_TGCRED
LC_KEY_TYPE_INSTANTIATE_2ARGS
sunrpc_required=$enable_gss
LC_CONFIG_SUNRPC
]) # LC_INODE_TIMESPEC64
#
+# LC_XA_IS_VALUE
+# kernel 4.19-rc6 commit 3159f943aafdbacb2f94c38fdaadabf2bbde2a14
+# xarray: Replace exceptional entries
+# adds xa_is_value
+#
+AC_DEFUN([LC_XA_IS_VALUE], [
+LB_CHECK_COMPILE([xa_is_value exist],
+xa_is_value, [
+ #include <linux/xarray.h>
+],[
+ xa_is_value(NULL);
+],[
+ AC_DEFINE(HAVE_XA_IS_VALUE, 1, [xa_is_value exist])
+])
+]) # LC_XA_IS_VALUE
+
+#
# LC___XA_SET_MARK
#
# kernel 4.20 commit v4.19-rc5-248-g9b89a0355144
# 4.18
LC_INODE_TIMESPEC64
+ LC_XA_IS_VALUE
# 4.20
LC___XA_SET_MARK