lkml.org 
[lkml]   [2008]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/6] fs/direct-io.c: Use DIV_ROUND_UP
Julia Lawall wrote:
> From: Julia Lawall <julia@diku.dk>
>
> The kernel.h macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) /
> (d)) but is perhaps more readable.

It certainly looks better to me, thanks for doing this.

> Signed-off-by: Julia Lawall <julia@diku.dk>

Acked-By: Zach Brown <zach.brown@oracle.com>

- z


\
 
 \ /
  Last update: 2008-02-14 18:29    [W:0.060 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site