File System query

Rohan Puri rohan.puri15 at gmail.com
Tue Jun 18 00:39:54 EDT 2013


On Mon, Jun 17, 2013 at 9:08 PM, Dibyayan Chakraborty
<dib.coolguy at gmail.com> wrote:
> Hi,
> I have the following question regarding the linux file system
> implementation.
>
> In linux/fs.h I saw the "struct super_operation" structure. I saw that two
> of the member function pointers are write_inode() and put_inode(). But In
> the ext2,ext3,ext4 implementation i saw that it uses the only write_inode()
> function. So, what is the reason behind keeping the other pointers ?
>
> --
> With Regards
> Dibyayan Chakraborty
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

Hi Dibyayan,

If you see from linux kernel version 2.6.26 onwards, put_inode() is removed.

- Rohan



More information about the Kernelnewbies mailing list