File System query
From: Rohan Puri <hidden>
Date: 2013-06-18 04:39:54
On Mon, Jun 17, 2013 at 9:08 PM, Dibyayan Chakraborty [off-list ref] 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