From aa624c8d24de1cee65483886b3f4ffc2fbc72980 Mon Sep 17 00:00:00 2001 From: Jan Harkes Date: Sun, 19 May 2002 19:25:16 -0700 Subject: [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. --- include/linux/reiserfs_fs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h index c2bfc3fd4ed5..a3172f03b2f4 100644 --- a/include/linux/reiserfs_fs.h +++ b/include/linux/reiserfs_fs.h @@ -1566,6 +1566,7 @@ extern struct item_operations * item_ops [TYPE_ANY + 1]; struct reiserfs_iget_args { __u32 objectid ; + __u32 dirid ; } ; /***************************************************************************/ -- cgit v1.2.3