linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* This code cannot be right
@ 2012-09-17 16:25 Alan Cox
  2012-09-17 16:51 ` Chris Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2012-09-17 16:25 UTC (permalink / raw)
  To: linux-btrfs


ctree.c:btrfs_insert_some_items()
{
...


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: This code cannot be right
  2012-09-17 16:25 This code cannot be right Alan Cox
@ 2012-09-17 16:51 ` Chris Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Mason @ 2012-09-17 16:51 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-btrfs@vger.kernel.org

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-17 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-17 16:25 This code cannot be right Alan Cox
2012-09-17 16:51 ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).