aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-09-14 09:38:54 +0530
committerJohn Rigby <john.rigby@linaro.org>2012-10-04 13:42:54 -0600
commite4dfe009104104f5ef1b1cbfdf437b9923190c7e (patch)
tree12bbcf886b4c15d5f707b24b50a6cc9ef110dd20
parent32184c6f5bd3b707e31e719eb4e1293f1e83bb37 (diff)
UBUNTU: dm-raid4-5: rename split_io to max_io_lenlinaro-ubuntu-sauce-3.6
Commit 542f90381422 ("dm: support non power of two target max_io_len") renames struct dm_target:split_io variable to max_io_len. Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r--ubuntu/dm-raid4-5/dm-raid4-5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubuntu/dm-raid4-5/dm-raid4-5.c b/ubuntu/dm-raid4-5/dm-raid4-5.c
index e05b0e14e34..e69ab44dd97 100644
--- a/ubuntu/dm-raid4-5/dm-raid4-5.c
+++ b/ubuntu/dm-raid4-5/dm-raid4-5.c
@@ -4073,7 +4073,7 @@ static int raid_ctr(struct dm_target *ti, unsigned argc, char **argv)
* Make sure that dm core only hands maximum io size
* length down and pays attention to io boundaries.
*/
- ti->split_io = rs->set.io_size;
+ ti->max_io_len = rs->set.io_size;
ti->private = rs;
/* Initialize work queue to handle this RAID set's io. */