mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
ioctl_compat: handle FITRIM
The FITRIM ioctl has the same arguments on 32-bit and 64-bit architectures, so we can add it to the list of compatible ioctls and drop it from compat_ioctl method of various filesystems. Signed-off-by: Mikulas Patocka <[email protected]> Cc: Al Viro <[email protected]> Cc: Ted Ts'o <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6f957724b9
commit
9abea2d64c
6 changed files with 1 additions and 7 deletions
|
|
@ -180,9 +180,6 @@ long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
|||
case JFS_IOC_SETFLAGS32:
|
||||
cmd = JFS_IOC_SETFLAGS;
|
||||
break;
|
||||
case FITRIM:
|
||||
cmd = FITRIM;
|
||||
break;
|
||||
}
|
||||
return jfs_ioctl(filp, cmd, arg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue