X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=ldiskfs%2Fkernel_patches%2Fpatches%2Fsles12sp2%2Fext4-large-eas.patch;h=0bf0c7d0a8599aeee95a8f94288cc4c037d77632;hb=e41bdca7559;hp=851e45ffcf28a2ce871c9cc8b79958f2cd10fd4f;hpb=8c8f4920e0157b2f1617b7d6da3f758781d68642;p=fs%2Flustre-release.git diff --git a/ldiskfs/kernel_patches/patches/sles12sp2/ext4-large-eas.patch b/ldiskfs/kernel_patches/patches/sles12sp2/ext4-large-eas.patch index 851e45f..0bf0c7d 100644 --- a/ldiskfs/kernel_patches/patches/sles12sp2/ext4-large-eas.patch +++ b/ldiskfs/kernel_patches/patches/sles12sp2/ext4-large-eas.patch @@ -16,19 +16,6 @@ Index: linux-stage/fs/ext4/ext4.h EXT4_FEATURE_INCOMPAT_MMP | \ EXT4_FEATURE_INCOMPAT_DIRDATA| \ EXT4_FEATURE_INCOMPAT_INLINE_DATA) -@@ -1979,6 +1980,12 @@ struct mmpd_data { - #define EXT4_MMP_MAX_CHECK_INTERVAL 300UL - - /* -+ * Maximum size of xattr attributes for FEATURE_INCOMPAT_EA_INODE 1Mb -+ * This limit is arbitrary, but is reasonable for the xattr API. -+ */ -+#define EXT4_XATTR_MAX_LARGE_EA_SIZE (1024 * 1024) -+ -+/* - * Function prototypes - */ - @@ -1990,6 +1997,10 @@ struct mmpd_data { # define ATTRIB_NORET __attribute__((noreturn)) # define NORET_AND noreturn,