On Mon, Aug 23, 2010 at 03:32:04PM +0200, Marco Stornelli wrote: > 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? ilookup only returns an inode if it's already in the inode cache. the get_inode callback needs to return an inode if it's allocated, even if it's not in the inode cache. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html