Message ID | 1522663877-1547-1-git-send-email-gujx@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Apr 02, 2018 at 06:11:17PM +0800, Gu Jinxiang wrote: > 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> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/cmds-scrub.c b/cmds-scrub.c index dabe7d9a..6b909f20 100644 --- a/cmds-scrub.c +++ b/cmds-scrub.c @@ -589,8 +589,6 @@ again: /* fall through */ case 5: /* read key/value pair */ 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,
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> --- cmds-scrub.c | 2 -- 1 file changed, 2 deletions(-)