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, 10 Oct 2017 19:49:52 +0000 (12:49 -0700)
commit63840695f68c20735df8861062343cf1faa3768d
tree4984ecfe445f8486a237ae6e76f13a1fbe86348b
parenta5f433f7410530ae6bb907ebc049547d9dce665b
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