libnvdimm, pmem: fix up max_hw_sectors
authorDan Williams <dan.j.williams@intel.com>
Sat, 16 May 2015 16:28:50 +0000 (12:28 -0400)
committerDan Williams <dan.j.williams@intel.com>
Fri, 26 Jun 2015 15:23:38 +0000 (11:23 -0400)
commit43d3fa3a0491168ad769d20d5cbae45492509d43
tree6498f7d93f19d73473f3fbe2bca435f9e9a2a090
parentfcae695737fca0849c18db814d9d8de05c0fd2a2
libnvdimm, pmem: fix up max_hw_sectors

There is no hardware limit to enforce on the size of the i/o that can be passed
to an nvdimm block device, so set it to UINT_MAX.

Reviewed-by: Vishal Verma <vishal.l.verma@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pmem.c