Browse Source

add FS_IOC_{GET}VERSION to ioctl

pull/36/head
Antonio SJ Musumeci 11 years ago
parent
commit
29ed2bca01
  1. 14
      src/ioctl.cpp

14
src/ioctl.cpp

@ -46,8 +46,22 @@ _ioctl(const int fd,
switch(cmd) switch(cmd)
{ {
#ifdef FS_IOC_GETFLAGS
case FS_IOC_GETFLAGS: case FS_IOC_GETFLAGS:
case FS_IOC_SETFLAGS: 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); rv = ::ioctl(fd,cmd,data);
break; break;

Loading…
Cancel
Save