patch-2.1.78 linux/include/linux/hfs_fs_i.h

Next file: linux/include/linux/hfs_fs_sb.h
Previous file: linux/include/linux/hfs_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.77/linux/include/linux/hfs_fs_i.h linux/include/linux/hfs_fs_i.h
@@ -0,0 +1,40 @@
+/* 
+ * linux/include/linux/hfs_fs_i.h
+ *
+ * Copyright (C) 1995, 1996  Paul H. Hargrove
+ * This file may be distributed under the terms of the GNU Public License.
+ *
+ * This file defines the type (struct hfs_inode_info) and the two
+ * subordinate types hfs_extent and hfs_file.
+ */
+
+#ifndef _LINUX_HFS_FS_I_H
+#define _LINUX_HFS_FS_I_H
+
+/*
+ * struct hfs_inode_info
+ *
+ * The HFS-specific part of a Linux (struct inode)
+ */
+struct hfs_inode_info {
+	int				magic;     /* A magic number */
+
+	struct hfs_cat_entry		*entry;
+
+	/* For a regular or header file */
+	struct hfs_fork 		*fork;
+	int				convert;
+
+	/* For a directory */
+	ino_t				file_type;
+	char				dir_size;
+
+	/* For header files */
+	const struct hfs_hdr_layout	*default_layout;
+	struct hfs_hdr_layout		*layout;
+
+        /* for dentry cleanup */
+        void (*d_drop_op)(const ino_t, struct dentry *);
+};
+
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov