diff options
author | Tao Ma <boyu.mt@taobao.com> | 2011-03-21 04:16:58 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-03-21 04:16:58 +0100 |
commit | a56e69c28ad0782a99f3f196e93d57ba5a7e2324 (patch) | |
tree | 5737ab643ff5eefc21704d41f4583c5fbd9be8f8 /fs/ext4/ioctl.c | |
parent | ext4: handle errors in ext4_clear_blocks() (diff) | |
download | linux-a56e69c28ad0782a99f3f196e93d57ba5a7e2324.tar.xz linux-a56e69c28ad0782a99f3f196e93d57ba5a7e2324.zip |
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>
Diffstat (limited to 'fs/ext4/ioctl.c')
-rw-r--r-- | fs/ext4/ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index c052c9f0f3a1..bb424de9953b 100644 --- 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; |