Import 2.3.6
[davej-history.git] / include / linux / hfs_fs_i.h
blob03585a08644af50608bf08e069546ce4f366a346
1 /*
2 * linux/include/linux/hfs_fs_i.h
4 * Copyright (C) 1995, 1996 Paul H. Hargrove
5 * This file may be distributed under the terms of the GNU Public License.
7 * This file defines the type (struct hfs_inode_info) and the two
8 * subordinate types hfs_extent and hfs_file.
9 */
11 #ifndef _LINUX_HFS_FS_I_H
12 #define _LINUX_HFS_FS_I_H
15 * struct hfs_inode_info
17 * The HFS-specific part of a Linux (struct inode)
19 struct hfs_inode_info {
20 int magic; /* A magic number */
22 struct hfs_cat_entry *entry;
24 /* For a regular or header file */
25 struct hfs_fork *fork;
26 int convert;
28 /* For a directory */
29 ino_t file_type;
30 char dir_size;
32 /* For header files */
33 const struct hfs_hdr_layout *default_layout;
34 struct hfs_hdr_layout *layout;
36 /* to deal with localtime ugliness */
37 int tz_secondswest;
39 /* for dentry cleanup */
40 void (*d_drop_op)(struct dentry *, const ino_t);
43 #endif