X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Fkernel.m4;h=f31d93c9716861e2eb58084b6139df5afd9235a2;hb=12c1acde76683108441827ae9affba1872f3afe5;hp=2b4df702391a863e0692999c65d3d3c5e2509b4e;hpb=a60b1c0a8e7e760088c51717614205bd5e43f560;p=zfs.git diff --git a/config/kernel.m4 b/config/kernel.m4 index 2b4df70..f31d93c 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -34,6 +34,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ ZFS_AC_KERNEL_XATTR_HANDLER_SET ZFS_AC_KERNEL_FSYNC_2ARGS ZFS_AC_KERNEL_EVICT_INODE + ZFS_AC_KERNEL_INSERT_INODE_LOCKED if test "$LINUX_OBJ" != "$LINUX"; then KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$LINUX_OBJ" @@ -43,6 +44,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ dnl # -Wall -fno-strict-aliasing -Wstrict-prototypes and other dnl # compiler options are added by the kernel build system. + KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-unused-but-set-variable" KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL" KERNELCPPFLAGS="$KERNELCPPFLAGS -DTEXT_DOMAIN=\\\"zfs-linux-kernel\\\""