mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
FreeBSD compile fix
The file module/os/freebsd/zfs/zfs_ioctl_compat.c fails compiling because of this error: 'static' is not at beginning of declaration This commit fixes the three places within that file. Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de> Closes #13702
This commit is contained in:
parent
34aa0f0487
commit
5fae33e047
@ -125,7 +125,7 @@ enum zfs_ioc_legacy {
|
|||||||
ZFS_IOC_LEGACY_LAST
|
ZFS_IOC_LEGACY_LAST
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned static long zfs_ioctl_legacy_to_ozfs_[] = {
|
static unsigned long zfs_ioctl_legacy_to_ozfs_[] = {
|
||||||
ZFS_IOC_POOL_CREATE, /* 0x00 */
|
ZFS_IOC_POOL_CREATE, /* 0x00 */
|
||||||
ZFS_IOC_POOL_DESTROY, /* 0x01 */
|
ZFS_IOC_POOL_DESTROY, /* 0x01 */
|
||||||
ZFS_IOC_POOL_IMPORT, /* 0x02 */
|
ZFS_IOC_POOL_IMPORT, /* 0x02 */
|
||||||
@ -208,7 +208,7 @@ unsigned static long zfs_ioctl_legacy_to_ozfs_[] = {
|
|||||||
ZFS_IOC_POOL_INITIALIZE, /* 0x4d:0x4f */
|
ZFS_IOC_POOL_INITIALIZE, /* 0x4d:0x4f */
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned static long zfs_ioctl_ozfs_to_legacy_common_[] = {
|
static unsigned long zfs_ioctl_ozfs_to_legacy_common_[] = {
|
||||||
ZFS_IOC_POOL_CREATE, /* 0x00 */
|
ZFS_IOC_POOL_CREATE, /* 0x00 */
|
||||||
ZFS_IOC_POOL_DESTROY, /* 0x01 */
|
ZFS_IOC_POOL_DESTROY, /* 0x01 */
|
||||||
ZFS_IOC_POOL_IMPORT, /* 0x02 */
|
ZFS_IOC_POOL_IMPORT, /* 0x02 */
|
||||||
@ -297,7 +297,7 @@ unsigned static long zfs_ioctl_ozfs_to_legacy_common_[] = {
|
|||||||
ZFS_IOC_LEGACY_NONE, /* ZFS_IOC_WAIT_FS */
|
ZFS_IOC_LEGACY_NONE, /* ZFS_IOC_WAIT_FS */
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned static long zfs_ioctl_ozfs_to_legacy_platform_[] = {
|
static unsigned long zfs_ioctl_ozfs_to_legacy_platform_[] = {
|
||||||
ZFS_IOC_LEGACY_NONE, /* ZFS_IOC_EVENTS_NEXT */
|
ZFS_IOC_LEGACY_NONE, /* ZFS_IOC_EVENTS_NEXT */
|
||||||
ZFS_IOC_LEGACY_NONE, /* ZFS_IOC_EVENTS_CLEAR */
|
ZFS_IOC_LEGACY_NONE, /* ZFS_IOC_EVENTS_CLEAR */
|
||||||
ZFS_IOC_LEGACY_NONE, /* ZFS_IOC_EVENTS_SEEK */
|
ZFS_IOC_LEGACY_NONE, /* ZFS_IOC_EVENTS_SEEK */
|
||||||
|
Loading…
Reference in New Issue
Block a user