diff options
Diffstat (limited to 'drivers/md/faulty.c')
-rw-r--r-- | drivers/md/faulty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/faulty.c b/drivers/md/faulty.c index 6513b7b3e379..6e83b38d931d 100644 --- a/drivers/md/faulty.c +++ b/drivers/md/faulty.c | |||
@@ -255,7 +255,7 @@ static void status(struct seq_file *seq, mddev_t *mddev) | |||
255 | } | 255 | } |
256 | 256 | ||
257 | 257 | ||
258 | static int reconfig(mddev_t *mddev) | 258 | static int reshape(mddev_t *mddev) |
259 | { | 259 | { |
260 | int mode = mddev->new_layout & ModeMask; | 260 | int mode = mddev->new_layout & ModeMask; |
261 | int count = mddev->new_layout >> ModeShift; | 261 | int count = mddev->new_layout >> ModeShift; |
@@ -316,7 +316,7 @@ static int run(mddev_t *mddev) | |||
316 | md_set_array_sectors(mddev, faulty_size(mddev, 0, 0)); | 316 | md_set_array_sectors(mddev, faulty_size(mddev, 0, 0)); |
317 | mddev->private = conf; | 317 | mddev->private = conf; |
318 | 318 | ||
319 | reconfig(mddev); | 319 | reshape(mddev); |
320 | 320 | ||
321 | return 0; | 321 | return 0; |
322 | } | 322 | } |
@@ -339,7 +339,7 @@ static struct mdk_personality faulty_personality = | |||
339 | .run = run, | 339 | .run = run, |
340 | .stop = stop, | 340 | .stop = stop, |
341 | .status = status, | 341 | .status = status, |
342 | .reconfig = reconfig, | 342 | .check_reshape = reshape, |
343 | .size = faulty_size, | 343 | .size = faulty_size, |
344 | }; | 344 | }; |
345 | 345 | ||