f2fs: introduce read_xattr_block
authorChao Yu <yuchao0@huawei.com>
Mon, 4 Sep 2017 10:58:03 +0000 (18:58 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Dec 2017 01:21:40 +0000 (17:21 -0800)
commitfae7dc47bddabc186db1de79ad0b19ec6a7a1ca2
tree63a64a2d1e0d56cb6cb65ef6c11d84a640c9304a
parent148edd027e9c9fd2b38811f2d61438fcecf765a3
f2fs: introduce read_xattr_block

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_xattr_block 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