aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/data.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-01-17 16:31:36 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-01-22 14:56:51 -0800
commitb323fd28bbf95c3181e02e7a642b7d24f3e32714 (patch)
tree604d32742a8f3137650d6360f68ca46e891a920d /fs/f2fs/data.c
parentf2fs: clean up error path of fill_super (diff)
downloadlinux-dev-b323fd28bbf95c3181e02e7a642b7d24f3e32714.tar.xz
linux-dev-b323fd28bbf95c3181e02e7a642b7d24f3e32714.zip
f2fs: kill F2FS_INLINE_XATTR_ADDRS for cleanup
Use get_inline_xattr_addrs directly instead of F2FS_INLINE_XATTR_ADDRS. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r--fs/f2fs/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 2db26388b6bf..2b892a619d71 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -1200,7 +1200,7 @@ static int f2fs_xattr_fiemap(struct inode *inode,
phys = (__u64)blk_to_logical(inode, ni.blk_addr);
offset = offsetof(struct f2fs_inode, i_addr) +
sizeof(__le32) * (DEF_ADDRS_PER_INODE -
- F2FS_INLINE_XATTR_ADDRS(inode));
+ get_inline_xattr_addrs(inode));
phys += offset;
len = inline_xattr_size(inode);