diff options
author | Sheng Yong <shengyong@oppo.com> | 2023-06-12 11:01:17 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-06-26 06:07:10 -0700 |
commit | dde38c03b351749f682db087df5202b55c7c1b40 (patch) | |
tree | 8dfe34e4c3405af2a3b0fdf38bb661ef840caca5 /fs/f2fs/super.c | |
parent | f2fs: add helper to check compression level (diff) | |
download | linux-dde38c03b351749f682db087df5202b55c7c1b40.tar.gz linux-dde38c03b351749f682db087df5202b55c7c1b40.tar.bz2 linux-dde38c03b351749f682db087df5202b55c7c1b40.zip |
f2fs: cleanup MIN_INLINE_XATTR_SIZE
Signed-off-by: Sheng Yong <shengyong@oppo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r-- | fs/f2fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 5b7d25fd4c08..1b2c788ed80d 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1363,7 +1363,7 @@ default_check: return -EINVAL; } - min_size = sizeof(struct f2fs_xattr_header) / sizeof(__le32); + min_size = MIN_INLINE_XATTR_SIZE; max_size = MAX_INLINE_XATTR_SIZE; if (F2FS_OPTION(sbi).inline_xattr_size < min_size || |