]> asedeno.scripts.mit.edu Git - linux.git/commit
nvdimm: Clarify comment in sizeof_namespace_index
authorAlexander Duyck <alexander.h.duyck@linux.intel.com>
Wed, 10 Oct 2018 23:38:55 +0000 (16:38 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 12 Oct 2018 15:39:10 +0000 (08:39 -0700)
commit1cfeb66e8e137be8e01b88bb4d416e987abda4a4
tree42e01fdba0eceed4b5e0a42ae5053c3deacc51d2
parentd86d4d63d88861107d3bfc84be7294552231ecd0
nvdimm: Clarify comment in sizeof_namespace_index

When working on the label code I found it rather confusing to see several
spots that reference a minimum label size of 256 while working with labels
that are 128 bytes in size.

This patch is meant to provide a clarification on one of the comments that
was at the heart of the issue. Specifically for version 1.2 and later of
the namespace specification the minimum label size is 256, prior to that
the minimum label size was 128. So we should state that as such to avoid
confusion.

Reviewed-by: Toshi Kani <toshi.kani@hpe.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/label.c