lkml.org 
[lkml]   [2011]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: encode_fh: have inode but no dentry
On Thu, Feb 24, 2011 at 01:16:34PM -0800, Dan Magenheimer wrote:
> Hi Aneesh --
>
> I see you are continuing with encode_fh related
> development so I thought I would bring this up
> with you.
>
> I have a need to call the encode_fh op in a
> situation where I have an inode but not a dentry,
> and calling d_find_alias(inode) sometimes returns
> NULL. In my usage, connectable is always zero, so
> having just the inode should be sufficient to get
> useful results from encode_fh, at least for the
> filesystems I've looked at.

[snip]

> Such a change would require a patch that touched
> nearly every filesystem so it's clearly not to
> be taken lightly.
>
> Any thoughts on this?

How about "tell us what do you need that for", for starters?


\
 
 \ /
  Last update: 2011-02-24 22:25    [W:0.145 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site