mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Why don't register a d_delete function for externfs_dentry_ops in 2.4 kernel?
@ 2005-08-09 16:06 lepton
  0 siblings, 0 replies; only message in thread
From: lepton @ 2005-08-09 16:06 UTC (permalink / raw)
  To: jdike; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-09 16:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-09 16:06 Why don't register a d_delete function for externfs_dentry_ops in 2.4 kernel? lepton

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®