>How do I access/read the content of the files via using inodes >or blocks that belong to the inode, at sys_link and vfs_link layer?
This is tricky because many interfaces that one would expect to use an inode as a file handle use a dentry instead. To read the contents of a file via the VFS interface, you need a file pointer (struct file), and the file pointer identifies the file by dentry. So you need to create a dummy dentry, which you can do with d_alloc_root(), and then create the file pointer with dentry_open(), then read the file with vfs_read(). That's for "via inodes." I don't know what "via blocks" means. -- Bryan Henderson IBM Almaden Research Center San Jose CA Filesystems - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
