All of lore.kernel.org
 help / color / mirror / Atom feed
* file struct's dentry being null?
@ 2003-07-02 15:49 Shaya Potter
  2003-07-02 15:58 ` Nikita Danilov
  0 siblings, 1 reply; 6+ messages in thread
From: Shaya Potter @ 2003-07-02 15:49 UTC (permalink / raw)
  To: linux-fsdevel

I decided to do an experiment, in fput, I did a 

struct file * next;
next = (struct file *) file->f_list.next;
if ( !next->dentry )
	printk("file struct: next's dentry is null, %d\n", next);

and I get a bunch of kernel output along these lines, with 5 different
next memory locations.  I only have 3 mount points, so it doesn't seem
to be related to that (though I would have thought it might have been
the list_head on the superblock).  anyways, just trying to figure out
what it's pointing to?

thanks,

shaya



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-07-02 16:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-02 15:49 file struct's dentry being null? Shaya Potter
2003-07-02 15:58 ` Nikita Danilov
2003-07-02 16:00   ` Shaya Potter
2003-07-02 16:18     ` Eli Carter
2003-07-02 16:26       ` Shaya Potter
2003-07-02 16:32       ` Shaya Potter

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.