aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-06-17 18:47:42 -0400
committerNeilBrown <neilb@suse.de>2009-06-17 18:47:42 -0400
commit597a711b69cfff95c4b8f6069037e7ad3fc71f56 (patch)
tree8c2cfa4c1223827a560de2f14da426d4822151c4 /drivers/md/md.h
parent01ee22b496c41384eaa6dcae983c86d8bc32fbb8 (diff)
md: remove unnecessary arguments from ->reconfig method.
Passing the new layout and chunksize as args is not necessary as the mddev has fields for new_check and new_layout. This is preparation for combining the check_reshape and reconfig methods Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r--drivers/md/md.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index e0a2b8e3985d..815013f8da6c 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -326,7 +326,7 @@ struct mdk_personality
326 int (*check_reshape) (mddev_t *mddev); 326 int (*check_reshape) (mddev_t *mddev);
327 int (*start_reshape) (mddev_t *mddev); 327 int (*start_reshape) (mddev_t *mddev);
328 void (*finish_reshape) (mddev_t *mddev); 328 void (*finish_reshape) (mddev_t *mddev);
329 int (*reconfig) (mddev_t *mddev, int layout, int chunk_size); 329 int (*reconfig) (mddev_t *mddev);
330 /* quiesce moves between quiescence states 330 /* quiesce moves between quiescence states
331 * 0 - fully active 331 * 0 - fully active
332 * 1 - no new requests allowed 332 * 1 - no new requests allowed