vhost_user_fs: Add the IOCTL_COMPAT_32 flag

Add the IOCTL_COMPAT_32 flag, corresponding to FUSE_IOCTL_COMPAT_32
introduced in FUSE 7.30.

Signed-off-by: Sergio Lopez <slp@redhat.com>
This commit is contained in:
Sergio Lopez 2020-04-08 12:25:21 +02:00 committed by Rob Bradford
parent 592cfbafb3
commit 0870028fde

View File

@ -393,6 +393,9 @@ const IOCTL_32BIT: u32 = 8;
/// Is a directory
const IOCTL_DIR: u32 = 16;
/// x32 compat ioctl on 64bit machine (64bit time_t)
const IOCTL_COMPAT_X32: u32 = 32;
/// Maximum of in_iovecs + out_iovecs
const IOCTL_MAX_IOV: u32 = 256;
@ -413,6 +416,9 @@ bitflags! {
/// Is a directory
const IOCTL_DIR = IOCTL_DIR;
/// x32 compat ioctl on 64bit machine (64bit time_t)
const IOCTL_COMPAT_X32 = IOCTL_COMPAT_X32;
/// Maximum of in_iovecs + out_iovecs
const IOCTL_MAX_IOV = IOCTL_MAX_IOV;
}