summaryrefslogtreecommitdiff
path: root/include/linux/ufs_fs_i.h
diff options
context:
space:
mode:
authorEvgeniy Dushistov <dushistov@mail.ru>2006-06-25 16:47:25 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 21:01:03 +0400
commitdd187a2603d9904ddc410441348f0cfc558a5233 (patch)
treea3859f88d1f458a18d31a231f03c955393282255 /include/linux/ufs_fs_i.h
parentabf5d15fd2e52517dd56a17a846d5a1f900b7db4 (diff)
downloadlinux-dd187a2603d9904ddc410441348f0cfc558a5233.tar.xz
[PATCH] ufs: little directory lookup optimization
This patch make little optimization of ufs_find_entry like "ext2" does. Save number of page and reuse it again in the next call. Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/ufs_fs_i.h')
-rw-r--r--include/linux/ufs_fs_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ufs_fs_i.h b/include/linux/ufs_fs_i.h
index 21665a953978..f50ce3b0cd52 100644
--- a/include/linux/ufs_fs_i.h
+++ b/include/linux/ufs_fs_i.h
@@ -27,6 +27,7 @@ struct ufs_inode_info {
__u32 i_oeftflag;
__u16 i_osync;
__u32 i_lastfrag;
+ __u32 i_dir_start_lookup;
struct inode vfs_inode;
};