summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/usb.c
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@mvista.com>2008-02-04 23:57:42 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-24 21:16:33 -0700
commit75c43b6ec6eb114e875e43fb151987c1a558e4f4 (patch)
treeddaf1f977cb79e7668c7f759acf8e786241d1f5d /drivers/usb/storage/usb.c
parentd99388aa0a504f69532db353a976ec133361bb4f (diff)
downloadlinux-75c43b6ec6eb114e875e43fb151987c1a558e4f4.tar.bz2
USB: libusual: locking cleanup
I converted the usu_init_notify semaphore to normal mutex usage, and it should still prevent the request_module before the init routine is complete. Before it acted more like a complete, now the mutex protects two distinct section from running at the same time. Signed-off-by: Daniel Walker <dwalker@mvista.com> Cc: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/usb.c')
0 files changed, 0 insertions, 0 deletions