]> git.neil.brown.name Git - history.git/commit
[PATCH] iget_locked [5/6]
authorJan Harkes <jaharkes@cs.cmu.edu>
Mon, 20 May 2002 02:25:16 +0000 (19:25 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 20 May 2002 02:25:16 +0000 (19:25 -0700)
commitaa624c8d24de1cee65483886b3f4ffc2fbc72980
tree9198fcbb3864d7fd4bb234437e1db31338482f07
parent16fb4ea349c270306e745c4288bd139fba6dbd18
[PATCH] iget_locked  [5/6]

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

Because most filesystems are based on 32-bit unique inode numbers
several functions are duplicated to keep iget_locked as a fast path. We
can avoid unnecessary pointer dereferences and function calls for this
specific case.
Documentation/filesystems/porting
fs/coda/cnode.c
fs/inode.c
fs/nfs/inode.c
fs/reiserfs/inode.c
fs/reiserfs/super.c
include/linux/reiserfs_fs.h