On 4/14/22 01:44, Ming Lei wrote: > Unit of bio->bi_iter.bi_size is bytes, but unit of offset/size > is sector. > > Fix the above issue in checking offset/size in bio_trim(). > > Fixes: e83502ca5f1e ("block: fix argument type of bio_trim()") > Cc: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx> > Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx> > --- Thanks a lot for this fix. -ck