summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/xattr.h
diff options
context:
space:
mode:
authorSheng Yong <shengyong@oppo.com>2023-06-12 11:01:17 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2023-06-26 06:07:10 -0700
commitdde38c03b351749f682db087df5202b55c7c1b40 (patch)
tree8dfe34e4c3405af2a3b0fdf38bb661ef840caca5 /fs/f2fs/xattr.h
parentc571fbb5b59a3741e48014faa92c2f14bc59fe50 (diff)
downloadlinux-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/xattr.h')
-rw-r--r--fs/f2fs/xattr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/xattr.h b/fs/f2fs/xattr.h
index 416d652774a3..b1811c392e6f 100644
--- a/fs/f2fs/xattr.h
+++ b/fs/f2fs/xattr.h
@@ -83,6 +83,7 @@ struct f2fs_xattr_entry {
sizeof(struct f2fs_xattr_header) - \
sizeof(struct f2fs_xattr_entry))
+#define MIN_INLINE_XATTR_SIZE (sizeof(struct f2fs_xattr_header) / sizeof(__le32))
#define MAX_INLINE_XATTR_SIZE \
(DEF_ADDRS_PER_INODE - \
F2FS_TOTAL_EXTRA_ATTR_SIZE / sizeof(__le32) - \