diff options
author | Josef Bacik <[email protected]> | 2017-04-06 17:02:06 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-04-17 09:58:42 -0600 |
commit | c6a4759ea0c9a7e7661f34f6943dafb1c6ae1b1c (patch) | |
tree | a2a16f24b4ddf730ab97e385d6f8cd32163a39c1 /lib/net_utils.c | |
parent | 47d902b90a32a42a3d33aef3a02170fc6f70aa23 (diff) |
nbd: add device refcounting
In order to support deleting the device on disconnect we need to
refcount the actual nbd_device struct. So add the refcounting framework
and change how we free the normal devices at rmmod time so we can catch
reference leaks.
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions