1 ext4: extended attribute value size limit is enforced by vfs
3 From: Tahsin Erdogan <tahsin@google.com>
5 EXT4_XATTR_MAX_LARGE_EA_SIZE definition in ext4 is currently unused.
6 Besides, vfs enforces its own 64k limit which makes the 1MB limit in
7 ext4 redundant. Remove it.
9 Signed-off-by: Tahsin Erdogan <tahsin@google.com>
10 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
12 fs/ext4/ext4.h | 6 ------
13 1 file changed, 6 deletions(-)
15 diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
16 index 5d5fc0d0e2bc..2cdd6070e348 100644
19 @@ -2220,12 +2220,6 @@ struct mmpd_data {
21 #define EXT4_MMP_MAX_CHECK_INTERVAL 300UL
24 - * Maximum size of xattr attributes for FEATURE_INCOMPAT_EA_INODE 1Mb
25 - * This limit is arbitrary, but is reasonable for the xattr API.
27 -#define EXT4_XATTR_MAX_LARGE_EA_SIZE (1024 * 1024)
33 2.13.1.611.g7e3b11ae1-goog