f2fs: introduce read_inline_xattr
authorChao Yu <yuchao0@huawei.com>
Mon, 4 Sep 2017 10:58:02 +0000 (18:58 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 01:21:39 +0000 (17:21 -0800)
commit148edd027e9c9fd2b38811f2d61438fcecf765a3
tree0eb3925186efbad314c4c94df95b51a0d393f024
parentb735df5e29d1fea35b690fe6395b9e0fcdd0c74d
f2fs: introduce read_inline_xattr

Commit ba38c27eb93e ("f2fs: enhance lookup xattr") introduces
lookup_all_xattrs duplicating from read_all_xattrs, which leaves
lots of similar codes in between them, so introduce new help
read_inline_xattr to clean up redundant codes.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/xattr.c