diff options
Diffstat (limited to 'drivers/md/dm-stripe.c')
-rw-r--r-- | drivers/md/dm-stripe.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/md/dm-stripe.c b/drivers/md/dm-stripe.c index c89cde86d400..aaecefa63935 100644 --- a/drivers/md/dm-stripe.c +++ b/drivers/md/dm-stripe.c | |||
@@ -312,8 +312,8 @@ static int stripe_map(struct dm_target *ti, struct bio *bio) | |||
312 | * | 312 | * |
313 | */ | 313 | */ |
314 | 314 | ||
315 | static int stripe_status(struct dm_target *ti, status_type_t type, | 315 | static void stripe_status(struct dm_target *ti, status_type_t type, |
316 | unsigned status_flags, char *result, unsigned maxlen) | 316 | unsigned status_flags, char *result, unsigned maxlen) |
317 | { | 317 | { |
318 | struct stripe_c *sc = (struct stripe_c *) ti->private; | 318 | struct stripe_c *sc = (struct stripe_c *) ti->private; |
319 | char buffer[sc->stripes + 1]; | 319 | char buffer[sc->stripes + 1]; |
@@ -340,7 +340,6 @@ static int stripe_status(struct dm_target *ti, status_type_t type, | |||
340 | (unsigned long long)sc->stripe[i].physical_start); | 340 | (unsigned long long)sc->stripe[i].physical_start); |
341 | break; | 341 | break; |
342 | } | 342 | } |
343 | return 0; | ||
344 | } | 343 | } |
345 | 344 | ||
346 | static int stripe_end_io(struct dm_target *ti, struct bio *bio, int error) | 345 | static int stripe_end_io(struct dm_target *ti, struct bio *bio, int error) |
@@ -428,7 +427,7 @@ static int stripe_merge(struct dm_target *ti, struct bvec_merge_data *bvm, | |||
428 | 427 | ||
429 | static struct target_type stripe_target = { | 428 | static struct target_type stripe_target = { |
430 | .name = "striped", | 429 | .name = "striped", |
431 | .version = {1, 5, 0}, | 430 | .version = {1, 5, 1}, |
432 | .module = THIS_MODULE, | 431 | .module = THIS_MODULE, |
433 | .ctr = stripe_ctr, | 432 | .ctr = stripe_ctr, |
434 | .dtr = stripe_dtr, | 433 | .dtr = stripe_dtr, |