All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shaya Potter <spotter@cs.columbia.edu>
To: linux-fsdevel@vger.kernel.org
Subject: file struct's dentry being null?
Date: 02 Jul 2003 11:49:51 -0400	[thread overview]
Message-ID: <1057160991.7361.5.camel@zaphod> (raw)

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



             reply	other threads:[~2003-07-02 15:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-02 15:49 Shaya Potter [this message]
2003-07-02 15:58 ` file struct's dentry being null? 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

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=1057160991.7361.5.camel@zaphod \
    --to=spotter@cs.columbia.edu \
    --cc=linux-fsdevel@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 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.