vduse: moving kvfree into caller
authorGuanjun <guanjun@linux.alibaba.com>
Mon, 6 Dec 2021 08:48:18 +0000 (16:48 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 14 Jan 2022 23:50:52 +0000 (18:50 -0500)
commitb4d80c8dda229c830f0ba38c103e5263c2a7bc64
tree99c8c3e00b00c3b1e6c39c9a4c7872d06debb3b2
parent2076207128948b766ef1fe344e0444fc9271a847
vduse: moving kvfree into caller

This free action should be moved into caller 'vduse_ioctl' in
concert with the allocation.

No functional change.

Signed-off-by: Guanjun <guanjun@linux.alibaba.com>
Link: https://lore.kernel.org/r/1638780498-55571-1-git-send-email-guanjun@linux.alibaba.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa_user/vduse_dev.c