Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759440AbYBNRZv (ORCPT ); Thu, 14 Feb 2008 12:25:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754102AbYBNRZm (ORCPT ); Thu, 14 Feb 2008 12:25:42 -0500 Received: from tetsuo.zabbo.net ([207.173.201.20]:57522 "EHLO tetsuo.zabbo.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752256AbYBNRZl (ORCPT ); Thu, 14 Feb 2008 12:25:41 -0500 Message-ID: <47B47994.7020804@oracle.com> Date: Thu, 14 Feb 2008 09:25:40 -0800 From: Zach Brown User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Julia Lawall CC: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 2/6] fs/direct-io.c: Use DIV_ROUND_UP References: In-Reply-To: Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 575 Lines: 18 Julia Lawall wrote: > From: Julia Lawall > > 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 Acked-By: Zach Brown - z -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/