OSDN Git Service

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, 10 Oct 2017 19:49:52 +0000 (12:49 -0700)
commita5f433f7410530ae6bb907ebc049547d9dce665b
tree34e508d77e25057891f29a0caf90b331146bab1c
parentc1fe3e9814401f864817828aa57d5e862cb7460d
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