From 772c69d230b34bab1aaab800b1f95010e237862f Mon Sep 17 00:00:00 2001 From: Pavel Snajdr Date: Thu, 20 Aug 2020 06:37:38 +0200 Subject: [PATCH] Linux 5.7 compat: Include linux/sched.h in spl/sys/mutex.h struct task_struct is needed for lockdep_off() in mutex.h This has popped up after e616cb8daadf (in linux-5.7-rc7). Reviewed-by: Brian Behlendorf Signed-off-by: Pavel Snajdr Closes #10741 --- include/os/linux/spl/sys/mutex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/os/linux/spl/sys/mutex.h b/include/os/linux/spl/sys/mutex.h index 73da236855..93f3af8fe0 100644 --- a/include/os/linux/spl/sys/mutex.h +++ b/include/os/linux/spl/sys/mutex.h @@ -26,6 +26,7 @@ #define _SPL_MUTEX_H #include +#include #include #include #include