mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-24 18:39:34 +03:00
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
This commit is contained in:
parent
d10bd7d288
commit
ecb6a50819
@ -23,9 +23,9 @@
|
||||
*/
|
||||
|
||||
#include <sys/list.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/procfs_list.h>
|
||||
#include <linux/proc_fs.h>
|
||||
#include <sys/mutex.h>
|
||||
|
||||
/*
|
||||
* A procfs_list is a wrapper around a linked list which implements the seq_file
|
||||
|
@ -25,7 +25,6 @@
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include <sys/kmem.h>
|
||||
#include <linux/file.h>
|
||||
@ -37,6 +36,8 @@
|
||||
#include <linux/proc_ns.h>
|
||||
#endif
|
||||
|
||||
#include <sys/mutex.h>
|
||||
|
||||
static kmutex_t zone_datasets_lock;
|
||||
static struct list_head zone_datasets;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user