diff options
author | Keith Busch <[email protected]> | 2015-10-01 17:14:10 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-10-09 10:40:36 -0600 |
commit | 188c3568f814fea965947ed24739987ba9c5a87e (patch) | |
tree | 553e44c9332afce5890e573785ce9887cd01a7ac /net/unix/af_unix.c | |
parent | 54ef2b96879334caf8803fdd93b4c556d709d6fd (diff) |
NVMe: Reference count open namespaces
Dynamic namespace attachment means the namespace may be removed at any
time, so the namespace reference count can not be tied to the device
reference count. This fixes a NULL dereference if an opened namespace
is detached from a controller.
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions