diff options
author | NeilBrown <neilb@suse.com> | 2016-03-10 00:59:28 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-03-10 01:59:41 +0300 |
commit | ec56151d382c2140851b4f25203af9016ba84fea (patch) | |
tree | f01c52c76c50dfd8c26e0f727d60aced5c7f0ac6 /drivers/nvdimm/btt.c | |
parent | 55155291b32d24371256adbcc67f9f53cf3f314f (diff) | |
download | linux-ec56151d382c2140851b4f25203af9016ba84fea.tar.xz |
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>
Diffstat (limited to 'drivers/nvdimm/btt.c')
0 files changed, 0 insertions, 0 deletions