>>>>> "Akinobu" == Akinobu Mita <akinobu.m...@gmail.com> writes:
Akinobu> BLKSECTGET ioctl loads the request queue's max_sectors as Akinobu> unsigned short value to the argument pointer. So if the Akinobu> max_sector is greater than USHRT_MAX, the upper 16 bits of that Akinobu> is just discarded. Akinobu> In such case, USHRT_MAX is more preferable than the lower 16 Akinobu> bits of max_sectors. Reviewed-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