summaryrefslogtreecommitdiff
path: root/cmds-fi-du.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2016-04-26 10:49:49 +0800
committerDavid Sterba <dsterba@suse.com>2016-05-11 15:53:06 +0200
commite6de81e95934a530cda65b546eb3fcfeaaa262e9 (patch)
tree2075e104ae734c88459db3f33090fc7ca2c293a3 /cmds-fi-du.c
parent25b93eefe29cdfb1d799498dfc69f122ac3e247e (diff)
btrfs-progs: check: fix found bytes accounting error
In the new add_extent_rec_nolookup() function, we add bytes_used to update found bytes accounting. However there is a typo that we used tmpl->nr, which should be rec->nr. This will make us to add 1 for data backref, instead the correct size. Reported-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-fi-du.c')
0 files changed, 0 insertions, 0 deletions