Commit 7f1a45a5 authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim

f2fs: clean up unneeded declaration

Commit 6afc662e ("f2fs: support flexible inline xattr size")
declared f2fs_sb_has_flexible_inline_xattr in f2fs.h for latter being
used in get_inline_xattr_addrs, but in latter version, related code
has been changed, leave f2fs_sb_has_flexible_inline_xattr w/o any
users. Let's remove it for cleanup.
Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent d6d478a1
...@@ -2446,7 +2446,6 @@ static inline int get_extra_isize(struct inode *inode) ...@@ -2446,7 +2446,6 @@ static inline int get_extra_isize(struct inode *inode)
return F2FS_I(inode)->i_extra_isize / sizeof(__le32); return F2FS_I(inode)->i_extra_isize / sizeof(__le32);
} }
static inline int f2fs_sb_has_flexible_inline_xattr(struct super_block *sb);
static inline int get_inline_xattr_addrs(struct inode *inode) static inline int get_inline_xattr_addrs(struct inode *inode)
{ {
return F2FS_I(inode)->i_inline_xattr_size; return F2FS_I(inode)->i_inline_xattr_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment