Home
last modified time | relevance | path

Searched hist:ff8e92d5 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/nvdimm/
H A Dbtt.cff8e92d5 Wed Mar 09 15:59:28 CST 2016 NeilBrown <neilb@suse.com> 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>
ff8e92d5 Wed Mar 09 15:59:28 CST 2016 NeilBrown <neilb@suse.com> 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>