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: Markus Pargmann
---
drivers/block/nbd.c | 40 +---
1 file changed, 29 insertions(+), 11
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: Markus Pargmann
---
drivers/block/nbd.c | 40 +---
1 file changed, 29
2 matches
Mail list logo