mbox series

[v5,0/2] fix a NULL pointer bug and simplify the code

Message ID 20210205065650.2357457-1-sunke32@huawei.com (mailing list archive)
Headers show
Series fix a NULL pointer bug and simplify the code | expand

Message

Sun Ke Feb. 5, 2021, 6:56 a.m. UTC
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(-)