Thread (5 messages) 5 messages, 3 authors, 2021-02-19

[PATCH v6 0/2] fix a NULL pointer bug and simplify the code

flat view
STALE2076d

From: Sun Ke <hidden>
Date: 2021-02-18 15:16:03
Also in: lkml
Subsystem: block layer, network block device (nbd), the rest · Maintainers: Jens Axboe, Josef Bacik, Linus Torvalds

Revision v6 (4 revisions archived).

Revisions (4)
  1. v4
  2. v5 [diff against previous]
  3. v6 current [diff against previous]
  4. v1 [diff against previous]
fix a NULL pointer bug and simplify the code

v6: Just add if (nbd->recv_workq) to nbd_disconnect_and_put().
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 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

-- 
2.25.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help