Skip to content
Commit b8b8cd01 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarKeith Busch <kbusch@kernel.org>
Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
parent 81382f17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment