commit | ff8e92d5d94b99aab39f439d532cba435947dfc0 | [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 15:00:24 2016 -0800 |
tree | b06ec5048a57e07f4a4287fa199947056c27b2bf | |
parent | ec56151d382c2140851b4f25203af9016ba84fea [diff] |
nvdimm/btt: don't allocate unused major device number alloc_disk(0) does not require or use a ->major number, all devices are allocated with a major of BLOCK_EXT_MAJOR. So don't allocate btt_major. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>