mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
nilfs2: unbreak compat ioctl
commit 828b1c50ae ("nilfs2: add compat ioctl") incidentally broke all
other NILFS compat ioctls. Make them work again.
Signed-off-by: Thomas Meyer <[email protected]>
Signed-off-by: Ryusuke Konishi <[email protected]>
Tested-by: Ryusuke Konishi <[email protected]>
Cc: <[email protected]> [3.0+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
b246272ecc
commit
695c60f21c
1 changed files with 13 additions and 0 deletions
|
|
@ -842,6 +842,19 @@ long nilfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
|||
case FS_IOC32_GETVERSION:
|
||||
cmd = FS_IOC_GETVERSION;
|
||||
break;
|
||||
case NILFS_IOCTL_CHANGE_CPMODE:
|
||||
case NILFS_IOCTL_DELETE_CHECKPOINT:
|
||||
case NILFS_IOCTL_GET_CPINFO:
|
||||
case NILFS_IOCTL_GET_CPSTAT:
|
||||
case NILFS_IOCTL_GET_SUINFO:
|
||||
case NILFS_IOCTL_GET_SUSTAT:
|
||||
case NILFS_IOCTL_GET_VINFO:
|
||||
case NILFS_IOCTL_GET_BDESCS:
|
||||
case NILFS_IOCTL_CLEAN_SEGMENTS:
|
||||
case NILFS_IOCTL_SYNC:
|
||||
case NILFS_IOCTL_RESIZE:
|
||||
case NILFS_IOCTL_SET_ALLOC_RANGE:
|
||||
break;
|
||||
default:
|
||||
return -ENOIOCTLCMD;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue