Doron Roberts-Kedes 08ba91ee6e nbd: Add the nbd NBD_DISCONNECT_ON_CLOSE config flag.
If NBD_DISCONNECT_ON_CLOSE is set on a device, then the driver will
issue a disconnect from nbd_release if the device has no remaining
bdev->bd_openers.

Fix ret val so reconfigure with only setting the flag succeeds.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Doron Roberts-Kedes <doronrk@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-20 19:10:06 -06:00
..
2018-06-07 17:34:34 -07:00
2018-06-08 13:36:19 -07:00
2018-05-11 15:08:03 -06:00
2017-02-20 12:16:15 +01:00
2018-06-04 07:58:06 -07:00
2017-08-18 08:45:29 -06:00