On Thursday 09 May 2002 10:58, Manfred Spraul wrote: > The jfs driver in 2.5.14-dj2 contains 11 lines that write to > i_version, but i_version is nowhere read. > > Could you apply the attached patch and remove the references? It > seems someone copied these lines from ext2, and ext2 uses i_version & > f_version to optimize readdir()+lseek().
Yeah, I'm sure when I first ported the code to Linux, I figured since it was in the common part of the inode that it should be kept up to date. I didn't bother to find out if it would be used anywhere. Grepping through the code, there are other filesystems that do the same thing but never used i_version. > > The patch is untested due to the lack of test volumes. I've got some more pressing things to do right now, but I'll try to get to this soon. -- David Kleikamp IBM Linux Technology Center _______________________________________________ Jfs-discussion mailing list [EMAIL PROTECTED] http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion
