USB: Remove BKL from lseek implementations
authorOliver Neukum <oliver@neukum.org>
Wed, 13 Jan 2010 14:32:21 +0000 (15:32 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:54:23 +0000 (14:54 -0800)
commitf9de332ebf9df71892d52f7eb64af101a647349f
tree97df3d94bc1d385adb2191549069675b4e01bbee
parent063e20eb980f281d8456c3b48f146107f5cb2338
USB: Remove BKL from lseek implementations

Replace it by
mutex_lock(&file->f_dentry->d_inode->i_mutex);
following the example of the generic method

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/devices.c
drivers/usb/core/devio.c