Several macros whose ends are commented to identify the macro being
defined, like
.. # LIBCFS_FUBAR
have the wrong macro named in the comment. Fix those
end comments so they match the opening comment or the
AC_DEFUN correctly.
Test-Parameters: trivial
Change-Id: Ia40ccb9e271e90306df37d0028734a84684e42ef
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-on: https://review.whamcloud.com/43776
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
AC_DEFINE(HAVE_3ARG_RHASHTABLE_WALK_INIT, 1,
[rhashtable_walk_init() has 3 args])
])
AC_DEFINE(HAVE_3ARG_RHASHTABLE_WALK_INIT, 1,
[rhashtable_walk_init() has 3 args])
])
-]) # LIBCFS_RHASHTABLE_REPLACE
+]) # LIBCFS_RHASHTABLE_WALK_INIT_3ARG
#
# Kernel version 4.8-rc6 commit ca26893f05e86497a86732768ec53cd38c0819ca
#
# Kernel version 4.8-rc6 commit ca26893f05e86497a86732768ec53cd38c0819ca
AC_DEFINE(HAVE_RHASHTABLE_WALK_ENTER, 1,
[rhashtable_walk_enter() is available])
])
AC_DEFINE(HAVE_RHASHTABLE_WALK_ENTER, 1,
[rhashtable_walk_enter() is available])
])
-]) # LIBCFS_RHASHTABLE_REPLACE
+]) # LIBCFS_RHASHTABLE_WALK_ENTER
#
# Kernel version 4.9 commit 768ae309a96103ed02eb1e111e838c87854d8b51
#
# Kernel version 4.9 commit 768ae309a96103ed02eb1e111e838c87854d8b51
AC_DEFINE(HAVE_KREF_READ, 1,
[kref_read() is available])
])
AC_DEFINE(HAVE_KREF_READ, 1,
[kref_read() is available])
])
#
# Kernel version 4.11-rc1 commit da20420f83ea0fbcf3d03afda08d971ea1d8a356
#
# Kernel version 4.11-rc1 commit da20420f83ea0fbcf3d03afda08d971ea1d8a356
]) # LIBCFS_MM_TOTALRAM_PAGES_FUNC
#
]) # LIBCFS_MM_TOTALRAM_PAGES_FUNC
#
-# LIBCFS_NEW_KERNEL_WRITE
+# LIBCFS_NEW_KERNEL_READ
#
# 4.14 commit bdd1d2d3d251c65b74ac4493e08db18971c09240 changed
# the signature of kernel_read to match other read/write helpers
#
# 4.14 commit bdd1d2d3d251c65b74ac4493e08db18971c09240 changed
# the signature of kernel_read to match other read/write helpers
]) # LIBCFS_KALLSYMS_LOOKUP
#
]) # LIBCFS_KALLSYMS_LOOKUP
#
-# LIBCFS_HAVE_PROC_OPS
-#
# v5.5-8862-gd56c0d45f0e2
# proc: decouple proc from VFS with "struct proc_ops"
#
# v5.5-8862-gd56c0d45f0e2
# proc: decouple proc from VFS with "struct proc_ops"
#
],[
my_proc->proc_lseek = NULL;
],[-Werror])
],[
my_proc->proc_lseek = NULL;
],[-Werror])
+]) # LIBCFS_SRC_HAVE_PROC_OPS
AC_DEFUN([LIBCFS_HAVE_PROC_OPS], [
AC_MSG_CHECKING([if struct proc_ops exists])
LB2_LINUX_TEST_RESULT([proc_ops], [
AC_DEFUN([LIBCFS_HAVE_PROC_OPS], [
AC_MSG_CHECKING([if struct proc_ops exists])
LB2_LINUX_TEST_RESULT([proc_ops], [
[kfree_sensitive() is available.])
])
EXTRA_KCFLAGS="$tmp_flags"
[kfree_sensitive() is available.])
])
EXTRA_KCFLAGS="$tmp_flags"
-]) # LIBCFS_HAVE_NR_UNSTABLE_NFS
+]) # LIBCFS_HAVE_KFREE_SENSITIVE
AC_DEFUN([LIBCFS_PROG_LINUX_SRC], [
LIBCFS_SRC_HAVE_PROC_OPS
AC_DEFUN([LIBCFS_PROG_LINUX_SRC], [
LIBCFS_SRC_HAVE_PROC_OPS