aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <[email protected]>2016-05-19 18:49:27 +0200
committerMike Snitzer <[email protected]>2016-06-13 14:40:27 -0400
commitf090279eaff814a550b35bb51aac6b8541bddf97 (patch)
tree63013e80c7294f09668d0d91fa0a714db23a7090 /lib/test-string_helpers.c
parent702108d194e3649f69afcd2661282a0157c71e54 (diff)
dm raid: check constructor arguments for invalid raid level/argument combinations
Reject invalid flag combinations to avoid potential data corruption or failing raid set construction: - add definitions for constructor flag combinations and invalid flags per level - add bool test functions for the various raid types (also will be used by future reshaping enhancements) - introduce rs_check_for_invalid_flags() and _invalid_flags() to perform the validity checks 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