summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorTahsin Erdogan <tahsin@google.com>2017-06-21 21:41:37 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-06-21 21:41:37 -0400
commit0eefb10758e696616f19a84d8c5f15b9ffc0dccd (patch)
tree0fff2ea2b22a0b3f5bd1dbad5f21a38e7be68133 /fs
parent1e7d359d710e84b996bd034f4ecc7c721e445603 (diff)
downloadlinux-rpi-0eefb10758e696616f19a84d8c5f15b9ffc0dccd.tar.gz
linux-rpi-0eefb10758e696616f19a84d8c5f15b9ffc0dccd.tar.bz2
linux-rpi-0eefb10758e696616f19a84d8c5f15b9ffc0dccd.zip
ext4: extended attribute value size limit is enforced by vfs
EXT4_XATTR_MAX_LARGE_EA_SIZE definition in ext4 is currently unused. Besides, vfs enforces its own 64k limit which makes the 1MB limit in ext4 redundant. Remove it. Signed-off-by: Tahsin Erdogan <tahsin@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/ext4.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index bc80082a2375..9b6a10e1bf18 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -2232,12 +2232,6 @@ 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
*/