commit | ec56151d382c2140851b4f25203af9016ba84fea | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Thu Mar 10 08:59:28 2016 +1100 |
committer | Dan Williams <dan.j.williams@intel.com> | Wed Mar 09 14:59:41 2016 -0800 |
tree | f01c52c76c50dfd8c26e0f727d60aced5c7f0ac6 | |
parent | 55155291b32d24371256adbcc67f9f53cf3f314f [diff] |
nvdimm/blk: don't allocate unused major device number When alloc_disk(0) is used ->major is completely ignored, all devices are allocated with a "major" of BLOCK_EXT_MAJOR. So don't allocate nd_blk_major Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>