]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libnvdimm, blk: use ->queuedata for driver private data
authorDan Williams <dan.j.williams@intel.com>
Sat, 19 Mar 2016 06:45:45 +0000 (23:45 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 22 Apr 2016 19:26:22 +0000 (12:26 -0700)
commitd44077a7cddce18fc8d83194bb4c83a0225f0f40
tree7fe3e7302bc2b84160d9623f451619f603dedbbb
parentd29cee120eb890027c69f5fe7cce8bd6a663900a
libnvdimm, blk: 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/blk.c