Commit a54d8d34 authored by Martijn Coenen's avatar Martijn Coenen Committed by Theodore Ts'o
Browse files

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/r/20191227134639.35869-1-maco@android.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent e128d516
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1377,6 +1377,8 @@ long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
	case EXT4_IOC_CLEAR_ES_CACHE:
	case EXT4_IOC_GETSTATE:
	case EXT4_IOC_GET_ES_CACHE:
	case EXT4_IOC_FSGETXATTR:
	case EXT4_IOC_FSSETXATTR:
		break;
	default:
		return -ENOIOCTLCMD;