diff options
author | Gu Jinxiang <gujx@cn.fujitsu.com> | 2018-04-02 18:11:17 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-04-24 13:00:10 +0200 |
commit | ef810bf0adb06e991ca16ea295f047e10288a802 (patch) | |
tree | ed4becc19edb45cb776f034e00f32746bdaec035 | |
parent | a5e29bbc1bad623dd1bdf5c9de3cb933ff525470 (diff) | |
download | btrfs-progs-ef810bf0adb06e991ca16ea295f047e10288a802.tar.gz btrfs-progs-ef810bf0adb06e991ca16ea295f047e10288a802.tar.bz2 btrfs-progs-ef810bf0adb06e991ca16ea295f047e10288a802.zip |
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>
-rw-r--r-- | cmds-scrub.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmds-scrub.c b/cmds-scrub.c index dabe7d9a..6b909f20 100644 --- a/cmds-scrub.c +++ b/cmds-scrub.c @@ -591,8 +591,6 @@ again: ret = 0; _SCRUB_KVREAD(ret, &i, data_extents_scrubbed, avail, l, &p[curr]->p); - _SCRUB_KVREAD(ret, &i, data_extents_scrubbed, avail, l, - &p[curr]->p); _SCRUB_KVREAD(ret, &i, tree_extents_scrubbed, avail, l, &p[curr]->p); _SCRUB_KVREAD(ret, &i, data_bytes_scrubbed, avail, l, |