Loading drivers/vhost/vhost.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -344,7 +344,7 @@ static int vhost_attach_cgroups(struct vhost_dev *dev) } } /* Caller should have device mutex */ /* Caller should have device mutex */ static long vhost_dev_set_owner(struct vhost_dev *dev) long vhost_dev_set_owner(struct vhost_dev *dev) { { struct task_struct *worker; struct task_struct *worker; int err; int err; Loading drivers/vhost/vhost.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -135,6 +135,7 @@ struct vhost_dev { }; }; long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue **vqs, int nvqs); long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue **vqs, int nvqs); long vhost_dev_set_owner(struct vhost_dev *dev); long vhost_dev_check_owner(struct vhost_dev *); long vhost_dev_check_owner(struct vhost_dev *); struct vhost_memory *vhost_dev_reset_owner_prepare(void); struct vhost_memory *vhost_dev_reset_owner_prepare(void); void vhost_dev_reset_owner(struct vhost_dev *, struct vhost_memory *); void vhost_dev_reset_owner(struct vhost_dev *, struct vhost_memory *); Loading Loading
drivers/vhost/vhost.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -344,7 +344,7 @@ static int vhost_attach_cgroups(struct vhost_dev *dev) } } /* Caller should have device mutex */ /* Caller should have device mutex */ static long vhost_dev_set_owner(struct vhost_dev *dev) long vhost_dev_set_owner(struct vhost_dev *dev) { { struct task_struct *worker; struct task_struct *worker; int err; int err; Loading
drivers/vhost/vhost.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -135,6 +135,7 @@ struct vhost_dev { }; }; long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue **vqs, int nvqs); long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue **vqs, int nvqs); long vhost_dev_set_owner(struct vhost_dev *dev); long vhost_dev_check_owner(struct vhost_dev *); long vhost_dev_check_owner(struct vhost_dev *); struct vhost_memory *vhost_dev_reset_owner_prepare(void); struct vhost_memory *vhost_dev_reset_owner_prepare(void); void vhost_dev_reset_owner(struct vhost_dev *, struct vhost_memory *); void vhost_dev_reset_owner(struct vhost_dev *, struct vhost_memory *); Loading