RE: VFS query

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

 



Title: Message
 > What I want to know is that, from where does the kernel get the file object of the new  
> file system  ? or a pointer to the struct file_operations  of the new file system. 
 
take a look at real_lookup() in namei.c. All the operations come from the inode.
 struct inode_operations *i_op;
 struct file_operations *i_fop; /* former ->i_op->default_file_ops */
 
Understanding the Linux Kernel has a good write up on the VFS.

brian 

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux