]> git.baikalelectronics.ru Git - kernel.git/commit
USB: storage: fix a resume path GFP_NOIO must be used
authorOliver Neukum <oliver@neukum.org>
Wed, 26 Aug 2009 17:56:12 +0000 (19:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:15 +0000 (06:46 -0700)
commitf512a8b0f8458f8c71789660e45742b63e1756cc
treef2a31bfba0fe83c9075dd4ee74197c1f9ee7b0a7
parent60af21496333fbd09e8059a8e5a0b3977f3b3c0f
USB: storage: fix a resume path GFP_NOIO must be used

In the resume path of a block driver GFP_NOIO must be used to
avoid a possible deadlock. The onetouch subdriver of storage violates
the requirement.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/onetouch.c