Re: getting file pointer from dentry/inode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux