add patch return-EFSBADCRC-on-csum-error-in-ext4_find_entry
[ext4-patch-queue.git] / extended-attribute-value-size-limit-is-enforced-by-vfs
bloba4f481aaec04494377212fa3ffa2ebf72bbd6da2
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>
11 ---
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
17 --- a/fs/ext4/ext4.h
18 +++ b/fs/ext4/ext4.h
19 @@ -2220,12 +2220,6 @@ struct mmpd_data {
20   */
21  #define EXT4_MMP_MAX_CHECK_INTERVAL    300UL
23 -/*
24 - * Maximum size of xattr attributes for FEATURE_INCOMPAT_EA_INODE 1Mb
25 - * This limit is arbitrary, but is reasonable for the xattr API.
26 - */
27 -#define EXT4_XATTR_MAX_LARGE_EA_SIZE    (1024 * 1024)
29  /*
30   * Function prototypes
31   */
32 -- 
33 2.13.1.611.g7e3b11ae1-goog