]> bbs.cooldavid.org Git - net-next-2.6.git/commit
USB-BKL: Remove lock_kernel in usbfs update_sb()
authorAndi Kleen <ak@linux.intel.com>
Tue, 1 Jun 2010 21:04:40 +0000 (23:04 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:35 +0000 (14:35 -0700)
commit6e12ea4658487ba9c746e95b31014cb89f63703b
tree03c2e4fed6b1077a02b371ab686c6fb20b9ea0ed
parent16f76a7654cf603ca13543e4f914ec8b6cd9ffb2
USB-BKL: Remove lock_kernel in usbfs update_sb()

The code this is attempting to lock against does not use the BKL,
so it's not needed.

Most likely this code is still broken/racy (Al Viro also thinks so),
but removing the BKL should not make it worse than before.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/inode.c