diff options
author | Heinz Mauelshagen <[email protected]> | 2016-05-19 18:49:25 +0200 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2016-06-13 12:00:40 -0400 |
commit | 92c83d79b07ec1c53e0c74b8a7988799e00856db (patch) | |
tree | e2c1e2ffe9727ce5e0e0dee52ba8652f2ab6bafc /lib/test-string_helpers.c | |
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 <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions