mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-02-06 15:23:20 +03:00
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 <behlendorf1@llnl.gov>
Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
Closes #10741
(cherry picked from commit 772c69d230
)
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
This commit is contained in:
parent
c33b623535
commit
f6e54ea4f5
@ -26,6 +26,7 @@
|
|||||||
#define _SPL_MUTEX_H
|
#define _SPL_MUTEX_H
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <linux/sched.h>
|
||||||
#include <linux/mutex.h>
|
#include <linux/mutex.h>
|
||||||
#include <linux/lockdep.h>
|
#include <linux/lockdep.h>
|
||||||
#include <linux/compiler_compat.h>
|
#include <linux/compiler_compat.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user