>>>>> "Akinobu" == Akinobu Mita <akinobu.m...@gmail.com> writes:

Akinobu> provisioning map (map_storep) is a bitmap accessed by bitops.
Akinobu> So the allocation size should be a multiple of sizeof(unsigned
Akinobu> long) and also the bitmap should be cleared by using
Akinobu> bitmap_clear() instead of memset().

Akinobu> Otherwise it will cause problem on big-endian architecture if
Akinobu> the number of bits is not a multiple of BITS_PER_LONG.

Acked-by: Martin K. Petersen <martin.peter...@oracle.com>

-- 
Martin K. Petersen      Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to