dm raid: small cleanup and remove unsed "struct raid_set" member
authorHeinz Mauelshagen <heinzm@redhat.com>
Sat, 2 Dec 2017 00:03:56 +0000 (01:03 +0100)
committerMike Snitzer <snitzer@redhat.com>
Fri, 8 Dec 2017 15:59:58 +0000 (10:59 -0500)
commit78a75d10ef869f4fae70f9b86afce28eb1922529
tree4971326eb12caefeefe22f46f1996644e53694d5
parent4102d9de6d375fc27ec70382c4068f4f9f62ce4f
dm raid: small cleanup and remove unsed "struct raid_set" member

Move raid_resume()'s setting of 'rw' and 'in_sync' to just prior to
mddev_resume().

Also, remove unused 'bitmap_loaded' member from "struct raid_set".

No functional changes.

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