Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm.cdiff e0d6609a5fe34463ae2fd48d846931f70de8b37b Fri Mar 14 17:40:39 CDT 2014 Mikulas Patocka <mpatocka@redhat.com> dm: change sector_count member in clone_info from sector_t to unsigned

It is impossible to create bios with 2^23 or more sectors (the size is
stored as a 32-bit byte count in the bio). So we convert some sector_t
values to unsigned integers.

This is needed for the next commit ("dm: introduce
dm_accept_partial_bio") that replaces integer value arguments with
pointers, so the size of the integer must match.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>