Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

virt: vbox: Fix some comments which talk about the "session spinlock"

The session lock is a mutex, not a spinlock, fix the comments to match.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200709120858.63928-9-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Hans de Goede and committed by
Greg Kroah-Hartman
729082ed 5bc117a2

+2 -2
+2 -2
drivers/virt/vboxguest/vboxguest_core.c
··· 559 559 * Changes the event filter mask for the given session. 560 560 * 561 561 * This is called in response to VBG_IOCTL_CHANGE_FILTER_MASK as well as to 562 - * do session cleanup. Takes the session spinlock. 562 + * do session cleanup. Takes the session mutex. 563 563 * 564 564 * Return: 0 or negative errno value. 565 565 * @gdev: The Guest extension device. ··· 811 811 } 812 812 813 813 /** 814 - * Sets the guest capabilities for a session. Takes the session spinlock. 814 + * Sets the guest capabilities for a session. Takes the session mutex. 815 815 * Return: 0 or negative errno value. 816 816 * @gdev: The Guest extension device. 817 817 * @session: The session.