projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d67d121
)
ext4: add FITRIM to compat_ioctl.
author
Tao Ma
<boyu.mt@taobao.com>
Mon, 21 Mar 2011 03:16:58 +0000
(23:16 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 21 Mar 2011 03:16:58 +0000
(23:16 -0400)
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>
fs/ext4/ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/ioctl.c
b/fs/ext4/ioctl.c
index c052c9f0f3a160de1607125d9ecc1ea0e1964602..bb424de9953b626dbe6dd8fc81ca30b5406b40a2 100644
(file)
--- a/
fs/ext4/ioctl.c
+++ b/
fs/ext4/ioctl.c
@@
-427,6
+427,7
@@
long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
return err;
}
case EXT4_IOC_MOVE_EXT:
+ case FITRIM:
break;
default:
return -ENOIOCTLCMD;