Re: [PATCH] bio: use offset_in_page macro

From: Jens Axboe
Date: Mon Nov 23 2015 - 22:24:22 EST


On 11/21/2015 02:27 AM, Geliang Tang wrote:
Use offset_in_page macro instead of (addr & ~PAGE_MASK).

Added for 4.5, thanks.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/