diff options
author | Josef Bacik <jbacik@fb.com> | 2017-02-02 00:11:40 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-02 02:28:08 +0300 |
commit | b0d9111a2d53785847763c64c40af2d4c4c5a8b7 (patch) | |
tree | c262f138c931d8e15b2581b6938c3868a6de5c27 /drivers/block/drbd/drbd_req.c | |
parent | 124d6db07c3bd0bdb57ba0e22ff4e5b87e7cb32e (diff) | |
download | linux-b0d9111a2d53785847763c64c40af2d4c4c5a8b7.tar.xz |
nbd: use an idr to keep track of nbd devices
To prepare for dynamically adding new nbd devices to the system switch
from using an array for the nbd devices and instead use an idr. This
copies what loop does for keeping track of its devices.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/drbd/drbd_req.c')
0 files changed, 0 insertions, 0 deletions