diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2010-12-28 13:08:42 -0800 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-01-14 15:51:51 -0800 |
commit | a6d940dd759bf240d28624198660ed34582a327b (patch) | |
tree | 4a6ce6ef72bb872a9f0a94933b3d6f749b58538e /crypto | |
parent | 653a39d1f61bdc9f277766736d21d2e9be0391cb (diff) | |
download | op-kernel-dev-a6d940dd759bf240d28624198660ed34582a327b.zip op-kernel-dev-a6d940dd759bf240d28624198660ed34582a327b.tar.gz |
xhci: Use GFP_NOIO during device reset.
When xhci_discover_or_reset_device() is called after a host controller
power loss, the virtual device may need to be reallocated. Make sure
xhci_alloc_dev() uses GFP_NOIO. This avoid causing a deadlock by allowing
the kernel to flush pending I/O while reallocating memory for a virtual
device for a USB mass storage device that's holding the backing store for
dirty memory buffers.
This patch should be queued for the 2.6.37 stable tree.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@kernel.org
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions