linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* get_inode callback of generic_fh_to_{dentry|parent}
@ 2010-08-23 13:32 Marco Stornelli
  2010-08-23 14:10 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Stornelli @ 2010-08-23 13:32 UTC (permalink / raw)
  To: linux-fsdevel

Hi,

I'm the maintainer of pramfs. I'm currently working in the export
operation for my fs and I've got a question about the callback in the
subject. Is it right that this function return an error for a not
allocated inode? I see a comment for example in the ext2 code for the
callback like this:

  /* iget isn't really right if the inode is currently unallocated!! */

So I think it's cleaner to use ilookup() instead of iget(). Comments?

Thanks.

Marco

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

end of thread, other threads:[~2010-08-24  6:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-23 13:32 get_inode callback of generic_fh_to_{dentry|parent} Marco Stornelli
2010-08-23 14:10 ` Christoph Hellwig
2010-08-24  6:46   ` Marco Stornelli

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).