commit | 0e4f0f6f63d3416a9e529d99febfe98545427b81 | [log] [tgz] |
---|---|---|
author | Markus Pargmann <mpa@pengutronix.de> | Thu Oct 29 12:04:51 2015 +0100 |
committer | Markus Pargmann <mpa@pengutronix.de> | Fri Feb 05 08:52:32 2016 +0100 |
tree | 64047990c1fb95e3c492e3afdb8443fb50a4d31d | |
parent | 1f7b5cf1be4351e60cf8ae7aab976503dd73c5f8 [diff] |
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: Markus Pargmann <mpa@pengutronix.de>