Re: [PATCH 6/8] xfs: use blocks for counting length of buffers

Mark Tinguely
2012-03-30T19:13:11Z

On 03/29/12 07:23, Dave Chinner wrote:
> From: Dave Chinner<dchinner@redhat.com>
>
> Now that we pass block counts everywhere, and index buffers by block
> number, track the length of the buffer in units of blocks rather
> than bytes. Convert the code to use block counts, and those that
> need byte counts get converted at the time of use.
>
> Also, remove the XFS_BUF_{SET_}SIZE() macros that are just wrappers
> around the buffer length. They onyl serve to make the code shouty
> loud and don't actually add any real value.
>
> Signed-off-by: Dave Chinner<dchinner@redhat.com>
> ---

Looks good.

Reviewed-by: Mark Tinguely <tinguely@sgi.com>