summaryrefslogtreecommitdiff
path: root/drivers/md/dm-verity-fec.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-06-28 16:36:46 +0200
committerMike Snitzer <snitzer@redhat.com>2016-07-01 10:54:11 -0400
commit028b39e314dd8b4ab8d3ac401285db40ab1f39d8 (patch)
tree2166607510865429e81e9a7ad52062f9817a919d /drivers/md/dm-verity-fec.c
parent350b53932810840a0c68467d7d78795010929940 (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