mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 15:36:43 +07:00
dd187a2603
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>
35 lines
725 B
C
35 lines
725 B
C
/*
|
|
* linux/include/linux/ufs_fs_i.h
|
|
*
|
|
* Copyright (C) 1996
|
|
* Adrian Rodriguez (adrian@franklins-tower.rutgers.edu)
|
|
* Laboratory for Computer Science Research Computing Facility
|
|
* Rutgers, The State University of New Jersey
|
|
*
|
|
* NeXTstep support added on February 5th 1998 by
|
|
* Niels Kristian Bech Jensen <nkbj@image.dk>.
|
|
*/
|
|
|
|
#ifndef _LINUX_UFS_FS_I_H
|
|
#define _LINUX_UFS_FS_I_H
|
|
|
|
struct ufs_inode_info {
|
|
union {
|
|
__fs32 i_data[15];
|
|
__u8 i_symlink[4*15];
|
|
__fs64 u2_i_data[15];
|
|
} i_u1;
|
|
__u32 i_flags;
|
|
__u32 i_gen;
|
|
__u32 i_shadow;
|
|
__u32 i_unused1;
|
|
__u32 i_unused2;
|
|
__u32 i_oeftflag;
|
|
__u16 i_osync;
|
|
__u32 i_lastfrag;
|
|
__u32 i_dir_start_lookup;
|
|
struct inode vfs_inode;
|
|
};
|
|
|
|
#endif /* _LINUX_UFS_FS_I_H */
|