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)
commite5dc8ae121592239c2a2521d383bcb789849b2a3
treef2a31bfba0fe83c9075dd4ee74197c1f9ee7b0a7
parent7fa07729e439a6184bd824746d06a49cca553f15
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