public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH]nbd: Fix might sleep warning.
@ 2016-04-30  6:19 Pranay Kr. Srivastava
  2016-04-30  6:19 ` [RESEND PATCH]nbd: fix might_sleep warning on socket shutdown Pranay Kr. Srivastava
  0 siblings, 1 reply; 5+ messages in thread
From: Pranay Kr. Srivastava @ 2016-04-30  6:19 UTC (permalink / raw)
  To: mpa, nbd-general, linux-kernel, gregkh; +Cc: Pranay Kr. Srivastava

When an nbd request times out then the nbd_xmit_timeout
tries to close the socket by taking a spin_lock over the
socket. This however generates a warning on 
kernel_sock_shutdown. This patch fixes this issue.

Pranay Kr. Srivastava (1):
  fix might_sleep warning on socket shutdown

 drivers/block/nbd.c | 85 +++++++++++++++++++++++++++++++----------------------
 1 file changed, 50 insertions(+), 35 deletions(-)

-- 
2.6.2

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-03  3:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-30  6:19 [RESEND PATCH]nbd: Fix might sleep warning Pranay Kr. Srivastava
2016-04-30  6:19 ` [RESEND PATCH]nbd: fix might_sleep warning on socket shutdown Pranay Kr. Srivastava
2016-05-02  3:28   ` Pranay Srivastava
2016-05-03  0:15     ` Greg KH
2016-05-03  3:55       ` Pranay Srivastava

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox