diff options
author | Martijn Coenen <maco@android.com> | 2019-12-27 14:46:39 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-01-17 16:24:55 -0500 |
commit | a54d8d34d2354f3a2a9dda00d9dd6666a50c486b (patch) | |
tree | 227edb150f2e3015237cf4a2502418f20e4e9963 | |
parent | e128d516d81289db7dd977b7706c96501f48c011 (diff) | |
download | blackbird-op-linux-a54d8d34d2354f3a2a9dda00d9dd6666a50c486b.tar.gz blackbird-op-linux-a54d8d34d2354f3a2a9dda00d9dd6666a50c486b.zip |
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: Martijn Coenen <maco@android.com>
Link: https://lore.kernel.org/r/20191227134639.35869-1-maco@android.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r-- | fs/ext4/ioctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index e8870fff8224..a0ec750018dd 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -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; |