diff options
author | Bart Van Assche <[email protected]> | 2016-06-28 16:36:46 +0200 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2016-07-01 10:54:11 -0400 |
commit | 028b39e314dd8b4ab8d3ac401285db40ab1f39d8 (patch) | |
tree | 2166607510865429e81e9a7ad52062f9817a919d /lib/test-string_helpers.c | |
parent | 350b53932810840a0c68467d7d78795010929940 (diff) |
dm ioctl: Simplify parameter buffer management code
Merge the two DM_PARAMS_[KV]MALLOC flags into a single flag.
Doing so avoids the crashes seen with previous attempts to consolidate
buffer management to use kvfree() without first flagging that memory had
actually been allocated.
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions