commit | 92c83d79b07ec1c53e0c74b8a7988799e00856db | [log] [tgz] |
---|---|---|
author | Heinz Mauelshagen <heinzm@redhat.com> | Thu May 19 18:49:25 2016 +0200 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Jun 13 12:00:40 2016 -0400 |
tree | e2c1e2ffe9727ce5e0e0dee52ba8652f2ab6bafc | |
parent | 73c6f239a86271c17d77f826a0c657f3d393a51e [diff] |
dm raid: use dm_arg_set API in constructor - use dm_arg_set API in ctr and its callees parse_raid_params() and dev_parms() - introduce _in_range() function to check a value is in a [ min, max ] range; this is to support more callers in parsing parameters etc. in the future - correct comment on MAX_RAID_DEVICES Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>