mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-09 16:18:33 +00:00
ext4: add FITRIM to compat_ioctl.
FITRIM isn't added in compat_ioctl. So a 32 bit program can't be executed in a 64 bit platform. Add it in the compat_ioctl. Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
d67d121834
commit
a56e69c28a
1 changed files with 1 additions and 0 deletions
|
@ -427,6 +427,7 @@ long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
case EXT4_IOC_MOVE_EXT:
|
case EXT4_IOC_MOVE_EXT:
|
||||||
|
case FITRIM:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return -ENOIOCTLCMD;
|
return -ENOIOCTLCMD;
|
||||||
|
|
Loading…
Add table
Reference in a new issue