lkml.org 
[lkml]   [2017]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] direct-io: Minor cleanups in do_blockdev_direct_IO
Date
Nikolay Borisov <nborisov@suse.com> 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@suse.com>

Looks ok to me.

Reviewed-by: Jeff Moyer <jmoyer@redhat.com>

\
 
 \ /
  Last update: 2017-08-03 16:10    [W:0.058 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site