USB: use GFP_NOIO in reset path
authorOliver Neukum <oliver@neukum.org>
Thu, 10 Jan 2008 09:31:48 +0000 (10:31 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:45 +0000 (14:34 -0800)
commit0cc1a51ff32cd54881a7e4d92ed89cee49843265
tree6ac8d81efd81f768245d44f03a545b128dd546a5
parent4bb0ef193bae8ca881d14fa713a831c042147041
USB: use GFP_NOIO in reset path

this function will run in the context of the scsi error handler thread.
It must use GFP_NOIO instead of GFP_KERNEL to avoid a possible
deadlock.

Cc: stable <stable@kernel.org>
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c