--- Tomas Hruby <thruby@xxxxxxxxx> wrote: > > Secondly is this logically correct to get the file > > pointer from inode/dentry etc. > > I don't think so. A single file on a disk (inode) > can be opened concurrently, > with different mode, with different read position, > etc. Many file structures > share the same inode then. > > TH Hello All, ok I agree that "A single file on a disk (inode) > can be opened concurrently, > with different mode, with different read position, > etc. Many file structures > share the same inode then." but since I am getting the dentry so can I use the dentry_open function. If this is ok then additionally what is the purpose of dentry_open function. Thanks, Uzair Lakhani > - > 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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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