commit | a56e69c28ad0782a99f3f196e93d57ba5a7e2324 | [log] [tgz] |
---|---|---|
author | Tao Ma <boyu.mt@taobao.com> | Sun Mar 20 23:16:58 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Mar 20 23:16:58 2011 -0400 |
tree | 5737ab643ff5eefc21704d41f4583c5fbd9be8f8 | |
parent | d67d1218344009970ba0deb7eb15a3984518ddd0 [diff] |
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>
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index c052c9f..bb424de 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c
@@ -427,6 +427,7 @@ return err; } case EXT4_IOC_MOVE_EXT: + case FITRIM: break; default: return -ENOIOCTLCMD;