summaryrefslogtreecommitdiffstats
path: root/drivers/block/null_blk.c
diff options
context:
space:
mode:
authorDoron Roberts-Kedes <doronrk@fb.com>2018-06-15 14:05:32 -0700
committerJens Axboe <axboe@kernel.dk>2018-06-20 19:10:06 -0600
commit08ba91ee6e2c1c08d3f0648f978cbb5dbf3491d8 (patch)
tree2c50d118291ce0b1a2c0a9f58f97f7defab7a33c /drivers/block/null_blk.c
parentce042c183bcb94eb2919e8036473a1fc203420f9 (diff)
downloadtalos-op-linux-08ba91ee6e2c1c08d3f0648f978cbb5dbf3491d8.tar.gz
talos-op-linux-08ba91ee6e2c1c08d3f0648f978cbb5dbf3491d8.zip
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>
Diffstat (limited to 'drivers/block/null_blk.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud