diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index cdec3a5dbdb5..9bc1a338d1f8 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -462,6 +462,7 @@ struct ext4_new_group_data { #define EXT4_IOC_ALLOC_DA_BLKS _IO('f', 12) #define EXT4_IOC_MOVE_EXT _IOWR('f', 15, struct move_extent) +#if defined(__KERNEL__) && defined(CONFIG_COMPAT) /* * ioctl commands in 32 bit emulation */ @@ -477,6 +478,7 @@ struct ext4_new_group_data { #endif #define EXT4_IOC32_GETVERSION_OLD FS_IOC32_GETVERSION #define EXT4_IOC32_SETVERSION_OLD FS_IOC32_SETVERSION +#endif /*