Skip to content

Commit a54d8d3

Browse files
Martijn Coenentytso
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent e128d51 commit a54d8d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/ext4/ioctl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,6 +1377,8 @@ long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
13771377
case EXT4_IOC_CLEAR_ES_CACHE:
13781378
case EXT4_IOC_GETSTATE:
13791379
case EXT4_IOC_GET_ES_CACHE:
1380+
case EXT4_IOC_FSGETXATTR:
1381+
case EXT4_IOC_FSSETXATTR:
13801382
break;
13811383
default:
13821384
return -ENOIOCTLCMD;

0 commit comments

Comments
 (0)