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

Commit ffc2c1d6 authored by Martijn Coenen's avatar Martijn Coenen Committed by Martijn Coenen
Browse files

FROMGIT: ext4: Add EXT4_IOC_FSGETXATTR/EXT4_IOC_FSSETXATTR to compat_ioctl.



These are backed by 'struct fsxattr' which has the same size on all
architectures.

Signed-off-by: default avatarMartijn Coenen <maco@android.com>
Link: https://lore.kernel.org/patchwork/patch/1172430/


Signed-off-by: default avatarMartijn Coenen <maco@google.com>
(cherry picked from commit a54d8d34d2354f3a2a9dda00d9dd6666a50c486b git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev)
Change-Id: Ie7a047b94415ef7c19fa534f47741ebd79dcc909
parent 45a6d3f5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1301,6 +1301,8 @@ long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
	case FS_IOC_GETFSMAP:
	case FS_IOC_ENABLE_VERITY:
	case FS_IOC_MEASURE_VERITY:
	case EXT4_IOC_FSGETXATTR:
	case EXT4_IOC_FSSETXATTR:
		break;
	default:
		return -ENOIOCTLCMD;