commit | 55155291b32d24371256adbcc67f9f53cf3f314f | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Wed Mar 09 09:21:54 2016 +1100 |
committer | Dan Williams <dan.j.williams@intel.com> | Wed Mar 09 11:31:34 2016 -0800 |
tree | c5ff7bdc93a893e56a2c80ed6d6ca1ac58da886a | |
parent | af1996ef59dbcb36fe4878df7c717a02eb89d07a [diff] |
pmem: don't allocate unused major device number When alloc_disk(0) or alloc_disk-node(0, XX) is used, the ->major number is completely ignored: all devices are allocated with a major of BLOCK_EXT_MAJOR. So there is no point allocating pmem_major. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>