HomeFreeBSD

Linux 5.7 compat: Include linux/sched.h in spl/sys/mutex.h

Description

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

Details

Provenance
Pavel Snajdr <snajpa@snajpa.net>Authored on Aug 20 2020, 4:37 AM
GitHub <noreply@github.com>Committed on Aug 20 2020, 4:37 AM
Parents
rGf2c027bd6a00: FreeBSD: Add option to rewind checkpoint while importing root pool
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG772c69d230b3: Linux 5.7 compat: Include linux/sched.h in spl/sys/mutex.h (authored by Pavel Snajdr <snajpa@snajpa.net>).Aug 20 2020, 4:37 AM