mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 19:28:53 +03:00
Consolidate zfs_holey and zfs_access
The zfs_holey() and zfs_access() functions can be made common to both FreeBSD and Linux. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #11125
This commit is contained in:
committed by
Tony Hutter
parent
073f3c7826
commit
a909190683
@@ -30,6 +30,7 @@
|
||||
#define _OPENSOLARIS_SYS_MISC_H_
|
||||
|
||||
#include <sys/limits.h>
|
||||
#include <sys/filio.h>
|
||||
|
||||
#define MAXUID UID_MAX
|
||||
|
||||
@@ -40,8 +41,8 @@
|
||||
#define _FIOGDIO (INT_MIN+1)
|
||||
#define _FIOSDIO (INT_MIN+2)
|
||||
|
||||
#define _FIO_SEEK_DATA FIOSEEKDATA
|
||||
#define _FIO_SEEK_HOLE FIOSEEKHOLE
|
||||
#define F_SEEK_DATA FIOSEEKDATA
|
||||
#define F_SEEK_HOLE FIOSEEKHOLE
|
||||
|
||||
struct opensolaris_utsname {
|
||||
char *sysname;
|
||||
|
||||
Reference in New Issue
Block a user