nvme: lift the check for an unallocated namespace into nvme_identify_ns
Move the check from the two callers into the common helper. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Keith Busch <kbusch@kernel.org> Reviewed-by:
Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by:
Sagi Grimberg <sagi@grimberg.me>
Loading
Please sign in to comment