dump/fsck: introduce print_xattr_entry
authorSheng Yong <shengyong1@huawei.com>
Fri, 3 Nov 2017 04:25:12 +0000 (12:25 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 12 Nov 2017 02:01:07 +0000 (18:01 -0800)
commitace53e2ff423747bf7daffa13c865cc97d3215fb
treedf7bc50d39738958ff2d38d067660a0e5f2df601
parentbbdbca4e22706549072950a6d14341600a6554e5
dump/fsck: introduce print_xattr_entry

This patch exports read_all_xattrs to allow dump/fsck to get all xattrs,
and introduces print_xattr_entry which tries to parse an xattr entry
accroding to its xattr index.

Signed-off-by: Sheng Yong <shengyong1@huawei.com>
[Jaegeuk Kim: fix configure.ac]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
configure.ac
fsck/dump.c
fsck/fsck.h
fsck/mount.c
fsck/xattr.h