linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: UZAIR LAKHANI <uzairr_bs1b@yahoo.com>
To: linux-fsdevel@vger.kernel.org
Subject: Getting dentry from inode
Date: Mon, 17 Apr 2006 10:08:43 -0700 (PDT)	[thread overview]
Message-ID: <20060417170843.14107.qmail@web37912.mail.mud.yahoo.com> (raw)

Hello All,

I want to know about these two questions.

(1) How to get a pointer to an inode if one has only
the inode number available. May I use the iget()
function. I only want a reference to the inode whose
number I have.

(2) How to get the dentry from inode. Is d_find_alias
ok. There can be multiple dentries attached to a
single inode then which dentry will d_find_alias will
return. I want only access to a dentry from inode
number.

Thanks,
Uzair Lakhani


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

             reply	other threads:[~2006-04-17 17:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-17 17:08 UZAIR LAKHANI [this message]
2006-04-17 17:35 ` Getting dentry from inode Dave Kleikamp

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=20060417170843.14107.qmail@web37912.mail.mud.yahoo.com \
    --to=uzairr_bs1b@yahoo.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).