This patch starts taking i_ino dependencies out of the VFS. The FSprovided test and set callbacks become responsible for testing andsetting inode->i_ino.

Because most filesystems are based on 32-bit unique inode numbersseveral functions are duplicated to keep iget_locked as a fast path. Wecan avoid unnecessary pointer dereferences and function calls for thisspecific case.

diff -urN iget_locked-4/Documentation/filesystems/porting iget_locked-5/Documentation/filesystems/porting--- iget_locked-4/Documentation/filesystems/porting Sun May 19 18:12:14 2002+++ iget_locked-5/Documentation/filesystems/porting Sun May 19 18:15:11 2002@@ -175,8 +175,10 @@ called so the file system still has to finalize the initialization. Once the inode is initialized it must be unlocked by calling unlock_new_inode().

-There is also a simpler iget_locked function that just takes the-superblock and inode number as arguments.+The filesystem is responsible for setting (and possibly testing) i_ino+when appropriate. There is also a simpler iget_locked function that+just takes the superblock and inode number as arguments and does the+test and set for you.