]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 6.1 compat: change order of sys/mutex.h includes
authorColeman Kane <ckane@colemankane.org>
Tue, 18 Oct 2022 19:29:44 +0000 (15:29 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 1 Nov 2022 19:44:56 +0000 (12:44 -0700)
commit212ba9bd97222613fe17bd8f0cc3e957e7f5d29b
treea3e3f514b7926d2446c249bb1851c5c9bfe2ede5
parent7ce097c8747a403f3ddf8c2f6be4ac486b959d8a
Linux 6.1 compat: change order of sys/mutex.h includes

After Linux 6.1-rc1 came out, the build started failing to build a
couple of the files in the linux spl code due to the mutex_init
redefinition. Moving the sys/mutex.h include to a lower position within
these two files appears to fix the problem.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #14040
module/os/linux/spl/spl-procfs-list.c