libnvdimm, pmem: use ->queuedata for driver private data
authorDan Williams <dan.j.williams@intel.com>
Sat, 19 Mar 2016 06:47:43 +0000 (23:47 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 22 Apr 2016 19:26:23 +0000 (12:26 -0700)
commitbd842b8ca7f207b99a5476a8174e62c29a2ff80e
tree50365a7b28e6b0796cc8823b63287b531b67d77b
parentd44077a7cddce18fc8d83194bb4c83a0225f0f40
libnvdimm, pmem: use ->queuedata for driver private data

Save a pointer chase by storing the driver private data in the
request_queue rather than the gendisk.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pmem.c