Re: [PATCH] direct-io: Minor cleanups in do_blockdev_direct_IO

From: Jeff Moyer
Date: Thu Aug 03 2017 - 10:09:05 EST


Nikolay Borisov <nborisov@xxxxxxxx> writes:

> We already get the block counts and the calculate the end block at the
> beginning of the function. Let's use the local variables for consistency and
> readability. No functional changes
>
> Signed-off-by: Nikolay Borisov <nborisov@xxxxxxxx>

Looks ok to me.

Reviewed-by: Jeff Moyer <jmoyer@xxxxxxxxxx>