Skip to content
Commit 8c60d40d authored by Bin Meng's avatar Bin Meng
Browse files

nvme: Eliminate the offset of one during block dev creation



At present there is an offset of one added during the creation of
block device. This can be very confusing as we wanted to encode the
namespace id in the block device name but namespae id cannot be zero.

This changes to use the namespace id directly in the block device
name, eliminating the offset of one effectively.

Suggested-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 478f7fc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment