From 36bc3a054dc108bbf0089c5194cf26cd77bce5d7 Mon Sep 17 00:00:00 2001 From: Yonghui Yu Date: Fri, 18 Jun 2021 22:03:06 +0800 Subject: [PATCH] cts: fix CtsDownloadManagerApi28 1 fail [1/2] PD#SWPL-51104 Problem: CtsDownloadManagerApi28 fail because of ioctrl failure on EXT4_IOC_FSGETXATTR and EXT4_IOC_FSSETXATTR. Solution: Add those two IOC to the compat_ioctrl. Verify: adt3 Signed-off-by: Yonghui Yu Change-Id: I2ed64202819b15d6b8aa75b6aefd255a3580cbd1 --- fs/ext4/ioctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index 368b0b353fe9..dc80106fe52d 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -951,6 +951,8 @@ long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) case EXT4_IOC_SET_ENCRYPTION_POLICY: case EXT4_IOC_GET_ENCRYPTION_PWSALT: case EXT4_IOC_GET_ENCRYPTION_POLICY: + case EXT4_IOC_FSGETXATTR: + case EXT4_IOC_FSSETXATTR: break; default: return -ENOIOCTLCMD; -- 2.20.1