linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] fix a NULL pointer bug and simplify the code
@ 2021-02-05  6:56 Sun Ke
  2021-02-05  6:56 ` [PATCH v5 1/2] nbd: Fix NULL pointer in flush_workqueue Sun Ke
  2021-02-05  6:56 ` [PATCH v5 2/2] nbd: share nbd_put and return by goto put_nbd Sun Ke
  0 siblings, 2 replies; 4+ messages in thread
From: Sun Ke @ 2021-02-05  6:56 UTC (permalink / raw)
  To: josef, axboe, Markus.Elfring; +Cc: linux-block, nbd, linux-kernel, sunke32

v5: Adjust the title and add “Suggested-by”.
v4: Share exception handling code for if branches and 
	move put_nbd adjustment to a separate patch.
v3: Do not use unlock and add put_nbd.
v2: Use jump target unlock.

Sun Ke (2):
  nbd: Fix NULL pointer in flush_workqueue
  nbd: share nbd_put and return by goto put_nbd

 drivers/block/nbd.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

-- 
2.25.4


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

end of thread, other threads:[~2021-02-10 16:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-05  6:56 [PATCH v5 0/2] fix a NULL pointer bug and simplify the code Sun Ke
2021-02-05  6:56 ` [PATCH v5 1/2] nbd: Fix NULL pointer in flush_workqueue Sun Ke
2021-02-10 16:25   ` Josef Bacik
2021-02-05  6:56 ` [PATCH v5 2/2] nbd: share nbd_put and return by goto put_nbd Sun Ke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).