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

- From: Sun Ke \<hidden\>
- Date: 2021-05-12 11:36:10 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/05/1373305
- Thread: https://ratatoskr.run/linux-block/2021/05/1373305/t.md

```text
fix a NULL pointer bug and simplify the code

They should have been applied for 5.12, something was wrong.
So, send them again. 

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

```
