From: "Sébastien Côté" <scote1@Matrox.COM>
To: Alexander Larsson <alex@cendio.se>
Cc: mtd@infradead.org
Subject: Re: ext2_lookup() and i_count
Date: Mon, 15 May 2000 09:28:24 -0400 [thread overview]
Message-ID: <391FFB78.4D0674D@matrox.com> (raw)
In-Reply-To: Pine.LNX.3.96.1000515120001.25053A-100000@biffen.cendio.se
Alexander Larsson wrote :
>
> I have huge problems with rm (unlink). If i unlink a file i've recently
> read i get a BUG() in clear_inode() in fs/inode.c. See my posting to
> linux-kernel for more info.
> Otherwise i haven't done much testing, I've mainly done separate testing
> of each function as I've implemented them.
I tried to unlink a file after reading it and, even though the file gets
unlinked without any error, most of the files on the filesystem got
screwed up.
In kernel 2.2.14, clear_inode() is a bit different :
void clear_inode(struct inode *inode)
{
if (inode->i_nr_pages)
truncate_inode_pages(inode,0);
wait_on_inode(inode);
...
}
This would explain the fact that I didn't get any BUG().
--
Sébastien Côté
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next prev parent reply other threads:[~2000-05-15 13:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <30252.958050596@devel2.axiom.internal>
2000-05-11 14:16 ` ext2_lookup() and i_count Alexander Larsson
2000-05-11 14:28 ` Sébastien Côté
2000-05-11 14:57 ` Alexander Larsson
2000-05-12 19:15 ` Sébastien Côté
2000-05-15 10:04 ` Alexander Larsson
2000-05-15 13:28 ` Sébastien Côté [this message]
2000-05-16 20:36 ` Sébastien Côté
2000-05-19 13:05 ` Alexander Larsson
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=391FFB78.4D0674D@matrox.com \
--to=scote1@matrox.com \
--cc=alex@cendio.se \
--cc=mtd@infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.