btrfs-progs: check: introduce function to check shared data backref
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Sun, 24 Apr 2016 05:33:47 +0000 (13:33 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 17 Aug 2016 16:51:20 +0000 (18:51 +0200)
commitbf5e74204e5d40545cc97a9a79d340b1615003a4
tree0d666af2df3d94f0a8e103196a5f5e62b994133a
parent4e6bbaebb8fc99dade80418db0ffd6b17d64b98f
btrfs-progs: check: introduce function to check shared data backref

Introduce the function check_shared_data_backref() to check the
referencer of a given shared data backref.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-check.c