dm raid: simplify rs_get_progress()
authorHeinz Mauelshagen <heinzm@redhat.com>
Wed, 13 Dec 2017 16:13:20 +0000 (17:13 +0100)
committerMike Snitzer <snitzer@redhat.com>
Wed, 13 Dec 2017 16:59:21 +0000 (11:59 -0500)
commit7c29744eccecc2c74c9b4d1ea0a60b4d95229399
tree337638ef9c113d7b6b9a3d63ea9afa21d70faa7f
parentdc15b943d4651bc13b9737bb27283ad9d3b8eeba
dm raid: simplify rs_get_progress()

No need to calculate the reshaping progress because
mddev->curr_resync_completed holds it.

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-raid.c