1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

internal/linux: Add IoctlBlkZname

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2025-11-19 10:09:45 -05:00
parent 09e0f36dd5
commit 69387b236e

View File

@@ -4,6 +4,9 @@ package linux
#include <linux/btrfs.h>
#include <linux/hidraw.h>
#include <linux/vhost.h>
#define ZFS_MAX_DATASET_NAME_LEN 256
#define BLKZNAME _IOR(0x12, 125, char[ZFS_MAX_DATASET_NAME_LEN])
*/
import "C"
@@ -16,4 +19,7 @@ const (
// IoctlVhostVsockSetGuestCid matches VHOST_VSOCK_SET_GUEST_CID.
IoctlVhostVsockSetGuestCid = C.VHOST_VSOCK_SET_GUEST_CID
// IoctlBlkZname matches BLKZNAME (ZFS specific).
IoctlBlkZname = C.BLKZNAME
)