diff options
-rw-r--r-- | drivers/usb/core/devio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index e023f3d56248..927a181120a9 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c | |||
@@ -580,7 +580,7 @@ static int usbdev_open(struct inode *inode, struct file *file) | |||
580 | ps->disccontext = NULL; | 580 | ps->disccontext = NULL; |
581 | ps->ifclaimed = 0; | 581 | ps->ifclaimed = 0; |
582 | security_task_getsecid(current, &ps->secid); | 582 | security_task_getsecid(current, &ps->secid); |
583 | wmb(); | 583 | smp_wmb(); |
584 | list_add_tail(&ps->list, &dev->filelist); | 584 | list_add_tail(&ps->list, &dev->filelist); |
585 | file->private_data = ps; | 585 | file->private_data = ps; |
586 | out: | 586 | out: |