Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a56e69c2 authored by Tao Ma's avatar Tao Ma Committed by Theodore Ts'o
Browse files

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: default avatarTao Ma <boyu.mt@taobao.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent d67d1218
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;