summaryrefslogtreecommitdiff
path: root/cmds-replace.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2015-08-21 11:21:27 +0800
committerDavid Sterba <dsterba@suse.com>2015-08-31 19:25:13 +0200
commit2d46558b30f5e130085212de7e3a22e2780e8d2a (patch)
tree36d3b8de60bde2b8f9f29615df193292f801026c /cmds-replace.c
parent59df5b6e9aacd222b79f27886b6989bff3eef2a9 (diff)
downloadbtrfs-progs-2d46558b30f5e130085212de7e3a22e2780e8d2a.tar.gz
btrfs-progs: Use existing facility to replace read_data_extent function
Function read_data_extent() in btrfs-image.c is using manual-and-read codes. Replace it with existing read_extent_data() to reduce duplication. Also, now we can use other mirror to try our best to do the dump, just like read_tree_block(). Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-replace.c')
0 files changed, 0 insertions, 0 deletions