aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vhost/net.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2018-01-06 22:52:21 +0000
committerMichael S. Tsirkin <[email protected]>2018-02-01 14:26:47 +0000
commitd25cc43c6775bff6b8e3dad97c747954b805e421 (patch)
tree92029ddc6e84b3ff4e2e2d0c66a77067e2d1fba4 /drivers/vhost/net.c
parentvhost: don't hold onto file pointer for VHOST_SET_VRING_ERR (diff)
downloadkernel-d25cc43c6775bff6b8e3dad97c747954b805e421.tar.gz
kernel-d25cc43c6775bff6b8e3dad97c747954b805e421.zip
vhost: don't hold onto file pointer for VHOST_SET_LOG_FD
We already hold a reference to the eventfd_ctx, which is sufficient; there's no need to hold a reference to the struct file as well. So get rid of vhost_dev->log_file. Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Jason Wang <[email protected]>
Diffstat (limited to 'drivers/vhost/net.c')
0 files changed, 0 insertions, 0 deletions