]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 5.7 compat: Include linux/sched.h in spl/sys/mutex.h
authorPavel Snajdr <snajpa@snajpa.net>
Thu, 20 Aug 2020 04:37:38 +0000 (06:37 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Aug 2020 04:37:38 +0000 (21:37 -0700)
commit772c69d230b34bab1aaab800b1f95010e237862f
treecdeebf080bb8a0f5b7aae858998f00ce1d0a9d9d
parentf2c027bd6a003ec5793f8716e6189c389c60f47a
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
include/os/linux/spl/sys/mutex.h