diff options
author | Heinz Mauelshagen <[email protected]> | 2016-05-19 18:49:26 +0200 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2016-06-13 14:40:24 -0400 |
commit | 702108d194e3649f69afcd2661282a0157c71e54 (patch) | |
tree | 56375c6cf68542bced7ae7086fc0326c76f74ba1 /lib/test-string_helpers.c | |
parent | 92c83d79b07ec1c53e0c74b8a7988799e00856db (diff) |
dm raid: cleanup / provide infrastructure
Provide necessary infrastructure to handle ctr flags and their names
and cleanup setting ti->error:
- comment constructor flags
- introduce constructor flag manipulation
- introduce ti_error_*() functions to simplify
setting the error message (use in other targets?)
- introduce array to hold ctr flag <-> flag name mapping
- introduce argument name by flag functions for that array
- use those functions throughout the ctr call path
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