diff options
author | NeilBrown <neilb@suse.de> | 2009-06-18 08:47:55 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-06-18 08:47:55 +1000 |
commit | 50ac168a6e0a061bf5346d53aa9e7beb94c97527 (patch) | |
tree | 4f1eff67793bd8349a1995c921a63e9512be7818 /drivers/md/md.h | |
parent | 597a711b69cfff95c4b8f6069037e7ad3fc71f56 (diff) | |
download | kernel_samsung_smdk4412-50ac168a6e0a061bf5346d53aa9e7beb94c97527.zip kernel_samsung_smdk4412-50ac168a6e0a061bf5346d53aa9e7beb94c97527.tar.gz kernel_samsung_smdk4412-50ac168a6e0a061bf5346d53aa9e7beb94c97527.tar.bz2 |
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>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index 815013f..bac7c2b 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -326,7 +326,6 @@ struct mdk_personality int (*check_reshape) (mddev_t *mddev); int (*start_reshape) (mddev_t *mddev); void (*finish_reshape) (mddev_t *mddev); - int (*reconfig) (mddev_t *mddev); /* quiesce moves between quiescence states * 0 - fully active * 1 - no new requests allowed |