Skip to content

Commit

Permalink
nvme: move block_device_operations and ns/ctrl freeing to common code
Browse files Browse the repository at this point in the history
This moves the block_device_operations over to common code mostly
as-is.  The only change is that the ns and ctrl refcounting got some
small refcounting to have wrappers around the kref_put operations.

A new free_ctrl operation is added to allow the PCI driver to free
it's ressources on the final drop.

Signed-off-by: Christoph Hellwig <hch@lst.de>
[Moved the integrity and pr changes due to merge conflict]
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
  • Loading branch information
Christoph Hellwig authored and Jens Axboe committed Dec 1, 2015
1 parent 0b7f1f2 commit 1673f1f
Show file tree
Hide file tree
Showing 3 changed files with 439 additions and 400 deletions.
Loading

0 comments on commit 1673f1f

Please sign in to comment.