nvmet: rearrange nvmet_ctrl_free()
authorIsrael Rukshin <israelr@mellanox.com>
Mon, 13 Nov 2017 12:29:41 +0000 (12:29 +0000)
committerChristoph Hellwig <hch@lst.de>
Mon, 8 Jan 2018 10:01:59 +0000 (11:01 +0100)
commit6b1943af3f4329c814ec7a651121746d08e6c9ee
treed027ba51b04dce8b4a1520f281b611c087cc5f18
parenteca19dc1d84d924544dda0c8d2fd4bb4131affeb
nvmet: rearrange nvmet_ctrl_free()

Make it symmetric to nvmet_alloc_ctrl().

Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/core.c