Thread (50 messages) 50 messages, 6 authors, 2017-10-23

Re: [PATCH 13/17] nvme: track subsystems

From: Christoph Hellwig <hch@lst.de>
Date: 2017-10-19 07:14:05
Also in: linux-nvme

I'm having some trouble with this one. The device_initialize() initializes
the kobj's reference counter, and then the device_add() takes another
reference on it.

The teardown, though, only calls put_device(). Where's the call to
device_del() supposed to go that ultimately drops the last reference
to call the .release 'nvme_free_subsystem'?
Yes, this is buggy.  I took the code from Hannes patches without
retesting a module unload.  I'll go back to the drawing board.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help