summaryrefslogtreecommitdiff
path: root/drivers/usb/usbip/usbip_common.h
diff options
context:
space:
mode:
authorLuis Claudio R. Goncalves <lgoncalv@redhat.com>2021-04-30 02:02:49 -0300
committerLuis Claudio R. Goncalves <lgoncalv@redhat.com>2021-04-30 02:02:49 -0300
commit370eb35659b55ae963bc97a9e6e038dec408ec27 (patch)
tree5406df1a9608b8e5d6441f2fe2080f7de4aa2e44 /drivers/usb/usbip/usbip_common.h
parent5ff0fc01b495b3979f403770fa88381d749d962c (diff)
parent7eafd3bfea5a367852687cbef3eb1a526704c9b3 (diff)
downloadlinux-rt-370eb35659b55ae963bc97a9e6e038dec408ec27.tar.gz
Merge tag 'v4.9.268' into v4.9-rt
Signed-off-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
Diffstat (limited to 'drivers/usb/usbip/usbip_common.h')
-rw-r--r--drivers/usb/usbip/usbip_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/usbip/usbip_common.h b/drivers/usb/usbip/usbip_common.h
index 0b199a2664c0..3d47c681aea2 100644
--- a/drivers/usb/usbip/usbip_common.h
+++ b/drivers/usb/usbip/usbip_common.h
@@ -278,6 +278,9 @@ struct usbip_device {
/* lock for status */
spinlock_t lock;
+ /* mutex for synchronizing sysfs store paths */
+ struct mutex sysfs_lock;
+
int sockfd;
struct socket *tcp_socket;