VFS query

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

 



Title: VFS query

Hi All,
I have a small query related to VSF.
We register a new file system using register_filesystem(file_system_type *fst). During mouting this filesystem,  a call is made to fst->read_super() to read the superblock.

After the registration the kernel has the following objects with it :
        1) superblock object  of the new filesystem.
        2) The dentry object of mount directory. ( s_root pointer from superblock object)
        3) An inode object of mount directory. ( d_inode of dentry object )

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.

Thanks in advance.
Regards,
Rahul.

 


[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