[PATCH -next 0/6] nbd: bugfix and cleanup patches

From: Yu Kuai
Date: Tue Apr 26 2022 - 08:54:47 EST


path 1-2 fix races between nbd setup and module removal.
patch 3 fix io can't be completed in some error path.
patch 4 fix io hung when disconnecting failed.
patch 5 fix sysfs warning about duplicate creation.
patch 6 use pr_err to output error message.

Yu Kuai (5):
nbd: call genl_unregister_family() first in nbd_cleanup()
nbd: fix race between nbd_alloc_config() and module removal
nbd: don't clear 'NBD_CMD_INFLIGHT' flag if request is not completed
nbd: fix io hung while disconnecting device
nbd: use pr_err to output error message

Zhang Wensheng (1):
nbd: fix possible overflow on 'first_minor' in nbd_dev_add()

drivers/block/nbd.c | 119 +++++++++++++++++++++++++++-----------------
1 file changed, 74 insertions(+), 45 deletions(-)

--
2.31.1