Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0eefb107 authored by Tahsin Erdogan's avatar Tahsin Erdogan Committed by Theodore Ts'o
Browse files

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: default avatarTahsin Erdogan <tahsin@google.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 1e7d359d
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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
 */