summaryrefslogtreecommitdiff
path: root/include/cramfs/cramfs_fs_sb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cramfs/cramfs_fs_sb.h')
-rw-r--r--include/cramfs/cramfs_fs_sb.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/cramfs/cramfs_fs_sb.h b/include/cramfs/cramfs_fs_sb.h
new file mode 100644
index 0000000000..bc23f94b94
--- /dev/null
+++ b/include/cramfs/cramfs_fs_sb.h
@@ -0,0 +1,19 @@
+#ifndef _CRAMFS_FS_SB
+#define _CRAMFS_FS_SB
+
+/*
+ * cramfs super-block data in memory
+ */
+struct cramfs_sb_info {
+ unsigned long magic;
+ unsigned long size;
+ unsigned long blocks;
+ unsigned long files;
+ unsigned long flags;
+#ifdef CONFIG_CRAMFS_LINEAR
+ unsigned long linear_phys_addr;
+ char * linear_virt_addr;
+#endif
+};
+
+#endif