diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-06-28 16:36:46 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-07-01 10:54:11 -0400 |
commit | 028b39e314dd8b4ab8d3ac401285db40ab1f39d8 (patch) | |
tree | 2166607510865429e81e9a7ad52062f9817a919d /drivers/md/dm-verity-fec.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 <bart.vanassche@sandisk.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-verity-fec.c')
0 files changed, 0 insertions, 0 deletions