btrfs-progs: Remove duplicate value-get for data_extents_scrubbed
Get data_extents_scrubbed value for twice, since there is only one data_extents_scrubbed in struct btrfs_scrub_progress, remove the duplicate one. Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
a5e29bbc1b
commit
ef810bf0ad
|
@ -589,8 +589,6 @@ again:
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case 5: /* read key/value pair */
|
case 5: /* read key/value pair */
|
||||||
ret = 0;
|
ret = 0;
|
||||||
_SCRUB_KVREAD(ret, &i, data_extents_scrubbed, avail, l,
|
|
||||||
&p[curr]->p);
|
|
||||||
_SCRUB_KVREAD(ret, &i, data_extents_scrubbed, avail, l,
|
_SCRUB_KVREAD(ret, &i, data_extents_scrubbed, avail, l,
|
||||||
&p[curr]->p);
|
&p[curr]->p);
|
||||||
_SCRUB_KVREAD(ret, &i, tree_extents_scrubbed, avail, l,
|
_SCRUB_KVREAD(ret, &i, tree_extents_scrubbed, avail, l,
|
||||||
|
|
Loading…
Reference in New Issue