OSDN Git Service

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>
Thu, 16 Nov 2017 05:48:44 +0000 (21:48 -0800)
commit6d625a93b4a8acf6eaa2cfebd21ce8bd7c7080dc
tree4d4db67d65e0db82995fbbc30ba0a67a63de2c3e
parent8ea6e1c327c53c785d9a29303e963d3b5c9f9ff4
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