mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-22 12:41:12 +08:00
add FS_IOC_{GET}VERSION to ioctl
This commit is contained in:
parent
243a193e66
commit
29ed2bca01
@ -46,8 +46,22 @@ _ioctl(const int fd,
|
||||
|
||||
switch(cmd)
|
||||
{
|
||||
#ifdef FS_IOC_GETFLAGS
|
||||
case FS_IOC_GETFLAGS:
|
||||
case FS_IOC_SETFLAGS:
|
||||
#endif
|
||||
#ifdef FS_IOC32_GETFLAGS
|
||||
case FS_IOC32_SETFLAGS:
|
||||
case FS_IOC32_GETFLAGS:
|
||||
#endif
|
||||
#ifdef FS_IOC_GETVERSION
|
||||
case FS_IOC_GETVERSION:
|
||||
case FS_IOC_SETVERSION:
|
||||
#endif
|
||||
#ifdef FS_IOC32_GETVERSION
|
||||
case FS_IOC32_GETVERSION:
|
||||
case FS_IOC32_SETVERSION:
|
||||
#endif
|
||||
rv = ::ioctl(fd,cmd,data);
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user