summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/include/linux/hfs_fs_i.h
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-01-03 12:04:58 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2015-01-03 12:04:58 +0100
commit008d0be72b2f160382c6e880765e96b64a050c65 (patch)
tree36f48a98a3815a408e2ce1693dd182af90f80305 /release/src/linux/linux/include/linux/hfs_fs_i.h
parent611becfb8726c60cb060368541ad98191d4532f5 (diff)
downloadtomato-008d0be72b2f160382c6e880765e96b64a050c65.tar.gz
tomato-008d0be72b2f160382c6e880765e96b64a050c65.tar.bz2
imported original firmware WRT54GL_v4.30.11_11_US
Diffstat (limited to 'release/src/linux/linux/include/linux/hfs_fs_i.h')
-rw-r--r--release/src/linux/linux/include/linux/hfs_fs_i.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/release/src/linux/linux/include/linux/hfs_fs_i.h b/release/src/linux/linux/include/linux/hfs_fs_i.h
new file mode 100644
index 00000000..8ae2ef99
--- /dev/null
+++ b/release/src/linux/linux/include/linux/hfs_fs_i.h
@@ -0,0 +1,44 @@
+/*
+ * 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 General 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 */
+
+ unsigned long mmu_private;
+ 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;
+
+ /* to deal with localtime ugliness */
+ int tz_secondswest;
+
+ /* for dentry cleanup */
+ void (*d_drop_op)(struct dentry *, const ino_t);
+};
+
+#endif