From: lepton <ytht.net@gmail.com>
To: jdike@addtoit.com
Cc: linux-kernel@vger.kernel.org
Subject: Why don't register a d_delete function for externfs_dentry_ops in 2.4 kernel?
Date: Wed, 10 Aug 2005 00:06:41 +0800 [thread overview]
Message-ID: <20050809160641.GA4946@gsy2.lepton.home> (raw)
Hi!
I read about code of linux-2.4.31/arch/um/fs/hostfs/externfs.c
I found you have defined a function named exterfs_d_delete, but
you don't register this function in externfs_dentry_ops.
This behavior is diffrent from the hostfs code in 2.6 kernel
It will lead to some strange problem like this:
on guest UML box: ls -l /tmp/nonexist ( the result is "file not
found", it is correct)
IN the directory of host os: touch ..../tmp/nonexist
on guest UML box again: ls -l /tmp/nonexist ( the result keeps "file
not found", a incorrect negative dcache hit)
I don't kown why 2.4 kernel have not fixed it.
What do you think about it?
Thanks
reply other threads:[~2005-08-09 16:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050809160641.GA4946@gsy2.lepton.home \
--to=ytht.net@gmail.com \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®