[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1240436400.7356.39.camel@norville.austin.ibm.com>
Date: Wed, 22 Apr 2009 16:40:00 -0500
From: Dave Kleikamp <shaggy@...ux.vnet.ibm.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Marcin Slusarz <marcin.slusarz@...il.com>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs: add roundup_to_blocksize and bytes_to_blocks
helper functions
On Wed, 2009-04-22 at 14:10 -0700, Andrew Morton wrote:
> roundup_to_blocksize() isn't a terribly good name, IMO. The name
> conveys no sense of what the function returns. It _sounds_ like it
> returns a "block size". But it doesn't - it returns a loff_t.
> round_up_file_offset_to_block_size() is a bit long though :(
Is round_up_to_block() any better? I don't think the trailing "size"
helps.
Shaggy
--
David Kleikamp
IBM Linux Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists