On Sunday 13 January 2008, Manish Katiyar wrote: > Hi friends, > Hi Manish, > 1) When is d_instantiate needed. Is it required always ?? . As far as > i understand it attaches the inode to the dentry object and may not be > needed always. AFAIK you need to call insert_inode_hash for every inode you create and d_instantiate whenever you create a new file or directory. > 2) Once I have got the new inode * by a call to new_inode, how do I > fill my file system specific data.. ie... i_private member is > initialised as NULL. > Should I allocate memory for my inode and set i_private to it > ??........ > Yes. Regards, tavi -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ