mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Explicitly include SPL compat headers
Inclusion of SPL compatibility headers was moved out of the public header sys/types.h to avoid conflicts with external packages. Include a few compatiblity headers explicitly to cope with that change. Also, sort some linux-specific inclusions alphabetically. Signed-off-by: Ned Bass <bass6@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #2898
This commit is contained in:
committed by
Brian Behlendorf
parent
7b2d78a046
commit
aaed7c408c
+5
-4
@@ -26,14 +26,15 @@
|
||||
#define _SYS_ZPL_H
|
||||
|
||||
#include <sys/vfs.h>
|
||||
#include <linux/vfs_compat.h>
|
||||
#include <linux/xattr_compat.h>
|
||||
#include <linux/aio.h>
|
||||
#include <linux/dcache_compat.h>
|
||||
#include <linux/exportfs.h>
|
||||
#include <linux/writeback.h>
|
||||
#include <linux/falloc.h>
|
||||
#include <linux/file_compat.h>
|
||||
#include <linux/task_io_accounting_ops.h>
|
||||
#include <linux/aio.h>
|
||||
#include <linux/vfs_compat.h>
|
||||
#include <linux/writeback.h>
|
||||
#include <linux/xattr_compat.h>
|
||||
|
||||
/* zpl_inode.c */
|
||||
extern void zpl_vap_init(vattr_t *vap, struct inode *dir,
|
||||
|
||||
Reference in New Issue
Block a user