Skip to content
Commit 0e4f0f6f authored by Markus Schneider-Pargmann's avatar Markus Schneider-Pargmann
Browse files

nbd: Cleanup reset of nbd and bdev after a disconnect



Group all variables that are reset after a disconnect into reset
functions. This patch adds two of these functions, nbd_reset() and
nbd_bdev_reset().

Signed-off-by: default avatarMarkus Pargmann <mpa@pengutronix.de>
parent 1f7b5cf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment