md: merge reconfig and check_reshape methods.
commit50ac168a6e0a061bf5346d53aa9e7beb94c97527
authorNeilBrown <neilb@suse.de>
Wed, 17 Jun 2009 22:47:55 +0000 (18 08:47 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 17 Jun 2009 22:47:55 +0000 (18 08:47 +1000)
tree4f1eff67793bd8349a1995c921a63e9512be7818
parent597a711b69cfff95c4b8f6069037e7ad3fc71f56
md: merge reconfig and check_reshape methods.

The difference between these two methods is artificial.
Both check that a pending reshape is valid, and perform any
aspect of it that can be done immediately.
'reconfig' handles chunk size and layout.
'check_reshape' handles raid_disks.

So make them just one method.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/faulty.c
drivers/md/md.c
drivers/md/md.h
drivers/md/raid5.c