提交 86693c43 编写于 作者: C Chaitanya Kulkarni 提交者: Christoph Hellwig

nvmet: use u32 for nvmet_subsys max_nsid

Use u32 type for the nsid_max member of the nvmet_subsys structure.
This avoids the type confusion when updating the subsys->nax_nsid from
ns->nsid. This also matches the nvmet_ns->nsid member.
Signed-off-by: NChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 f3dce2ad
......@@ -218,7 +218,7 @@ struct nvmet_subsys {
struct xarray namespaces;
unsigned int nr_namespaces;
unsigned int max_nsid;
u32 max_nsid;
u16 cntlid_min;
u16 cntlid_max;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册