This code cannot be right

2012-09-17 Thread Alan Cox

ctree.c:btrfs_insert_some_items()
{
...


if (total_size + data_size[i]+ ...
{
break;
nr = i;
}


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: This code cannot be right

2012-09-17 Thread Chris Mason
On Mon, Sep 17, 2012 at 10:25:54AM -0600, Alan Cox wrote:
> 
> ctree.c:btrfs_insert_some_items()
> {
> ...
> 
> 
>   if (total_size + data_size[i]+ ...
>   {
>   break;
>   nr = i;
>   }
> 

Hi Alan,

Definitely not right ;) It's actually unused, but I thought I had gotten
rid of it long ago.  I'll queue up a patch for the next merge window,
thanks.

-chris

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html