On Mon, Nov 01, 2021 at 05:19:58PM -0600, Jens Axboe wrote: > Yes, probably safer just to make bdev_nr_bytes() return sector_t as > well, even if loff_t isn't strictly wrong. Christoph, want to do a > followup? sector_t is wrong. I actually did that in the very first version accidentally and willy pointed out that this is wrong. If Linus really wants that we can add the cast.