We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd8b820 commit 363eaa3Copy full SHA for 363eaa3
drivers/usb/usbip/usbip_event.c
@@ -70,6 +70,7 @@ static void event_handler(struct work_struct *work)
70
while ((ud = get_event()) != NULL) {
71
usbip_dbg_eh("pending event %lx\n", ud->event);
72
73
+ mutex_lock(&ud->sysfs_lock);
74
/*
75
* NOTE: shutdown must come first.
76
* Shutdown the device.
@@ -90,6 +91,7 @@ static void event_handler(struct work_struct *work)
90
91
ud->eh_ops.unusable(ud);
92
unset_event(ud, USBIP_EH_UNUSABLE);
93
}
94
+ mutex_unlock(&ud->sysfs_lock);
95
96
wake_up(&ud->eh_waitq);
97
0 commit comments