From e412304668a108bab73a307afcc24991a0a0d24f Mon Sep 17 00:00:00 2001 From: Mikulas Patocka Date: Fri, 27 Jul 2012 15:08:00 +0100 Subject: [PATCH] --- yaml --- r: 319461 b: refs/heads/master c: f14fa693c93078444b5e95d7cad78ead0383ad50 h: refs/heads/master i: 319459: 6c22428ebdd428f32f95cb538a002a0b564488ae v: v3 --- [refs] | 2 +- trunk/Documentation/device-mapper/striped.txt | 3 +-- trunk/drivers/md/dm-stripe.c | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 87402ee9db92..b238b342ebea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f09996c993e256fce4b920588959866998d51250 +refs/heads/master: f14fa693c93078444b5e95d7cad78ead0383ad50 diff --git a/trunk/Documentation/device-mapper/striped.txt b/trunk/Documentation/device-mapper/striped.txt index f34d3236b9da..953fe1d68068 100644 --- a/trunk/Documentation/device-mapper/striped.txt +++ b/trunk/Documentation/device-mapper/striped.txt @@ -16,8 +16,7 @@ Parameters: [ ]+ : Starting sector within the device. One or more underlying devices can be specified. The striped device size must -be a multiple of the chunk size and a multiple of the number of underlying -devices. +be a multiple of the chunk size multiplied by the number of underlying devices. Example scripts diff --git a/trunk/drivers/md/dm-stripe.c b/trunk/drivers/md/dm-stripe.c index 183db5d3e48e..1f6316ed2b31 100644 --- a/trunk/drivers/md/dm-stripe.c +++ b/trunk/drivers/md/dm-stripe.c @@ -132,7 +132,6 @@ static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv) return -EINVAL; } - width = ti->len; if (sector_div(width, stripes)) { ti->error = "Target length not divisible by " "number of stripes";