public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Estelle HAMMACHE <estelle.hammache@st.com>
To: Martin Egholm Nielsen <martin@egholm-nielsen.dk>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Cannot remove child "XXX", ino #13, because it doesn't exist
Date: Wed, 02 Mar 2005 16:32:50 +0100	[thread overview]
Message-ID: <4225DCA2.AFBE689F@st.com> (raw)
In-Reply-To: d04hdb$8k1$1@sea.gmane.org

Martin Egholm Nielsen wrote:
> 
> Hi again,
> 
> > After removing a directory containing a lot of files, I get lots of the
> > following messages on reboot (one for each of the files I removed):
> 
> > Cannot remove child "file10.txt", ino #13, because it doesn't exist

This might happen when the deletion dirent for the directory
is found, but the deletion dirent for the files are not found
(which should not happen during ordinary operation).
Exactly what command (or code) did you use to remove the file and
directory ? Did you umount correctly after that ?
Do you really get this message for each and every deleted file
or only part of them ?

> The problem arose after creating a directory in my JFFS2 NAND fs, and
> creating some 1000 (small) files in it. After rebooting I removed the
> entire directory, and at the next reboot I got the error.

This message is a notice. It should not prevent JFFS2 from running.
The directory and the files are considered as deleted.

Just out of curiosity, do you get these messages
"Eep. Child "fileXXXX" (ino #XXX) of dir ino #XX doesn't exist!"
previously to the "Cannot remove..." messages ?
If you don't, it might be interesting to get a trace with
debug enabled since the child inode cache should not disappear
between the build_inode_pass1 and remove_unlinked_inode.

Bye
Estelle

  reply	other threads:[~2005-03-02 15:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-01 12:07 Cannot remove child "XXX", ino #13, because it doesn't exist Martin Egholm Nielsen
2005-03-02 14:13 ` Martin Egholm Nielsen
2005-03-02 15:32   ` Estelle HAMMACHE [this message]
2005-03-04 10:43     ` Martin Egholm Nielsen
2005-03-03 10:38   ` Artem B. Bityuckiy
2005-03-04 10:43     ` Martin Egholm Nielsen
2005-03-07 15:18     ` Martin Egholm Nielsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4225DCA2.AFBE689F@st.com \
    --to=estelle.hammache@st.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=martin@egholm-nielsen.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox