]) # LC_HAVE_CRYPTO_MAX_ALG_NAME_128
#
+# LC_HAVE_FSMAP_HEADER
+#
+# Kernel version 4.11-rc4 commit 80c9f490f344be7999f57fc31a8ed956f8c65f3b
+# vfs: add common GETFSMAP ioctl definitions
+#
+AC_DEFUN([LC_SRC_HAVE_FSMAP_HEADER], [
+ LB2_CHECK_LINUX_HEADER_SRC([linux/fsmap.h], [-Werror])
+])
+AC_DEFUN([LC_HAVE_FSMAP_HEADER], [
+ LB2_CHECK_LINUX_HEADER_RESULT([linux/fsmap.h], [
+ AC_DEFINE(HAVE_FSMAP_H, 1,
+ [fsmap.h is present])
+ ])
+]) # LC_HAVE_FSMAP_HEADER
+
+#
# Kernel version 4.12 commit 47f38c539e9a42344ff5a664942075bd4df93876
# CURRENT_TIME is not 64 bit time safe so it was replaced with
# current_time()
LC_SRC_VM_OPERATIONS_REMOVE_VMF_ARG
LC_SRC_HAVE_KEY_USAGE_REFCOUNT
LC_SRC_HAVE_CRYPTO_MAX_ALG_NAME_128
+ LC_SRC_HAVE_FSMAP_HEADER
# 4.12
LC_SRC_CURRENT_TIME
LC_VM_OPERATIONS_REMOVE_VMF_ARG
LC_HAVE_KEY_USAGE_REFCOUNT
LC_HAVE_CRYPTO_MAX_ALG_NAME_128
+ LC_HAVE_FSMAP_HEADER
# 4.12
LC_CURRENT_TIME