From cdhmanning@gmail.com Thu Jun 14 21:46:06 2012
Received: from mail-pb0-f49.google.com ([209.85.160.49])
	by stoneboat.aleph1.co.uk with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16)
	(Exim 4.72) (envelope-from <cdhmanning@gmail.com>)
	id 1SfGvc-00061Q-AG
	for yaffs@lists.aleph1.co.uk; Thu, 14 Jun 2012 21:46:06 +0100
Received: by pbbrq13 with SMTP id rq13so4554421pbb.8
	for <yaffs@lists.aleph1.co.uk>; Thu, 14 Jun 2012 13:45:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:to:subject:date:user-agent:references:in-reply-to:mime-version
	:content-type:content-transfer-encoding:content-disposition
	:message-id; bh=OZxxDdVZgJ+kKZJZyY+2d739BLrW0z6wLFwkLX0k70o=;
	b=xyIuJ9I8nPmLAIy4Z1NXMUXzNpkwxnXa3tIysHL7mxqCFdCBVcGuhHSXyTuKJgACg5
	4MvIBJuE0HImaFHwr2F0n2/P5sZ4W6Au6Q8wAo0HC/4IQXOAZzs5xp6GFuEtHkY2UJqT
	ryfKNPBMFgwwLfzooD2qoqYrCU9Pepp0ExK+KBCXELwfG7Is3re0ss8v8cgbG7ejF7ye
	hJQpwdoWaMs5JdTyfYVAdTmuKiQLU+MPMHUA4kKTJ+myH/wH2/Djn6oCgzAH6ryT/WzV
	tW/2QAPz6KJKdgB+FTUGg+i5rDkaKbzfEy9ksUr8EFDt+fOisqWiWLQLqU03MQ39Bmgh
	KiKw==
Received: by 10.68.132.201 with SMTP id ow9mr11696275pbb.160.1339706757215;
	Thu, 14 Jun 2012 13:45:57 -0700 (PDT)
Received: from linux-dual-head.local (125-237-130-33.jetstream.xtra.co.nz.
	[125.237.130.33])
	by mx.google.com with ESMTPS id qm6sm10648128pbc.10.2012.06.14.13.45.54
	(version=SSLv3 cipher=OTHER); Thu, 14 Jun 2012 13:45:56 -0700 (PDT)
From: Charles Manning <cdhmanning@gmail.com>
To: yaffs@lists.aleph1.co.uk
Date: Fri, 15 Jun 2012 08:45:51 +1200
User-Agent: KMail/1.9.10
References: <CAJC8qy-UiHDNmwagKrZ+iiOq7WiF5-whGsb8=1ULr9LAr+KBXg@mail.gmail.com>
In-Reply-To: <CAJC8qy-UiHDNmwagKrZ+iiOq7WiF5-whGsb8=1ULr9LAr+KBXg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <201206150845.51543.manningc2@actrix.gen.nz>
X-SA-Exim-Connect-IP: 209.85.160.49
X-SA-Exim-Mail-From: cdhmanning@gmail.com
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	stoneboat.aleph1.co.uk
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 required=4.5 tests=AWL,BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1
X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000)
X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk)
Subject: Re: [Yaffs] why one file's parent pointer does point to its parent
	directory?
X-BeenThere: yaffs@lists.aleph1.co.uk
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: Discussion of YAFFS NAND flash filesystem <yaffs.lists.aleph1.co.uk>
List-Unsubscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/options/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=unsubscribe>
List-Archive: <http://lists.aleph1.co.uk/lurker/list/yaffs.html>
List-Post: <mailto:yaffs@lists.aleph1.co.uk>
List-Help: <mailto:yaffs-request@lists.aleph1.co.uk?subject=help>
List-Subscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=subscribe>
X-List-Received-Date: Thu, 14 Jun 2012 20:46:06 -0000

On Thursday 14 June 2012 21:06:26 Ezio Zhang wrote:
> hi,guys,when i use yaffs in my system ,i tried to
> write,read,remove,close files in lager scales.system often crashed for
> one file's parent pointer does not point to its parent ,and the code
> goes to:
> if (l->parent != directory)
>     BUG();:
> in file yaffs_guts.c.
> how does this situation occurs?

You will have to tell us much more than that. Are you using the latest code? 
Are you using Linux or something else?...

-- CHarles

