Re: [PATCH 2/6] fs/direct-io.c: Use DIV_ROUND_UP

From: Zach Brown
Date: Thu Feb 14 2008 - 12:25:54 EST


Julia Lawall wrote:
> From: Julia Lawall <julia@xxxxxxx>
>
> 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@xxxxxxx>

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

- z
--
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/