]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ext4: extended attribute value size limit is enforced by vfs
authorTahsin Erdogan <tahsin@google.com>
Thu, 22 Jun 2017 01:41:37 +0000 (21:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Jun 2017 01:41:37 +0000 (21:41 -0400)
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>
fs/ext4/ext4.h

index bc80082a2375409c5890ac75a0df70264b23c28e..9b6a10e1bf18820d7331e8a897f3140b74c0ab80 100644 (file)
@@ -2231,12 +2231,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
  */