From d1092cdbe9101d5715b934f182662e8e148237d2 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Fri, 8 Nov 2024 13:21:03 -0500 Subject: [PATCH] current_time() is no longer extern. Since v6.5-rc1-7-g9b6304c1d537, current_time() is no longer extern, so we need to update this grep regex to continue to match. Signed-off-by: Auke Kok --- kmod/src/Makefile.kernelcompat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmod/src/Makefile.kernelcompat b/kmod/src/Makefile.kernelcompat index d1a21b11..3582dccb 100644 --- a/kmod/src/Makefile.kernelcompat +++ b/kmod/src/Makefile.kernelcompat @@ -192,7 +192,7 @@ endif # # Kernel has current_time(inode) to uniformly retreive timespec in the right unit # -ifneq (,$(shell grep 'extern struct timespec64 current_time' include/linux/fs.h)) +ifneq (,$(shell grep 'struct timespec64 current_time' include/linux/fs.h)) ccflags-y += -DKC_CURRENT_TIME_INODE=1 endif