mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Getting a dentry from an inode.
@ 2004-04-01  8:20 Soeren Noehr Christensen
  2004-04-01  8:38 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Soeren Noehr Christensen @ 2004-04-01  8:20 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm working on a securityproject (umbrella.sourceforge.net), we need to
access the dentry struct(s) associated with a particular inode, and all we
have access to is the inode struct. Does anyone know how to do get the
dentry structs from this?

Thanks,

//snc

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

* Re: Getting a dentry from an inode.
  2004-04-01  8:20 Getting a dentry from an inode Soeren Noehr Christensen
@ 2004-04-01  8:38 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2004-04-01  8:38 UTC (permalink / raw)
  To: Soeren Noehr Christensen; +Cc: linux-kernel

Soeren Noehr Christensen <snc@cs.auc.dk> wrote:
>
> I'm working on a securityproject (umbrella.sourceforge.net), we need to
>  access the dentry struct(s) associated with a particular inode, and all we
>  have access to is the inode struct. Does anyone know how to do get the
>  dentry structs from this?

Walk inode->i_dentry.  See d_find_alias() for similar code.

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

end of thread, other threads:[~2004-04-01  8:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-01  8:20 Getting a dentry from an inode Soeren Noehr Christensen
2004-04-01  8:38 ` Andrew Morton

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®