ide: Must hold queue lock when requeueing
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 31 Mar 2010 20:13:39 +0000 (20:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Apr 2010 08:31:14 +0000 (01:31 -0700)
commit1af185034662b75279f90e1c7cb958271d4121e2
treed6159d863ecb7854d56f740cc0bec2b37b2dee8a
parent6072f7491f5ef391a575e18a1165e72a3eef1601
ide: Must hold queue lock when requeueing

ide-atapi requeues requests without holding the queue lock.
This patch fixes it by using ide_requeue_and_plug.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-atapi.c