mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
add FS_IOC_{GET}VERSION to ioctl
This commit is contained in:
parent
243a193e66
commit
29ed2bca01
1 changed files with 14 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue