On 1/9/2017 7:08 AM, Jens Axboe wrote: > On 01/07/2017 06:21 AM, Wang Sheng-Hui wrote: >> Hi, >> >> Sorry to trouble you. >> >> I have one question about the define of struct sbitmap & sbitmap_word: >> In sbitmap_word, the field depth is 'unsigned long', but in sbitmap, the field depth is 'unsigned int'. >> Why they use different data types? > No particular reason. The bit ops use unsigned long, so that is why > sbitmap_word uses it. unsigned int should be enough for sbitmap in > general. > Got it, Jens. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html