summaryrefslogtreecommitdiffstats
path: root/include/linux/bfs_fs_sb.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-29 01:41:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-29 01:41:54 +0000
commitf969d69ba9f952e5bdd38278e25e26a3e4a61a70 (patch)
treeb3530d803df59d726afaabebc6626987dee1ca05 /include/linux/bfs_fs_sb.h
parenta10ce7ef2066b455d69187643ddf2073bfc4db24 (diff)
Merge with 2.3.27.
Diffstat (limited to 'include/linux/bfs_fs_sb.h')
-rw-r--r--include/linux/bfs_fs_sb.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/linux/bfs_fs_sb.h b/include/linux/bfs_fs_sb.h
new file mode 100644
index 000000000..f0f54d606
--- /dev/null
+++ b/include/linux/bfs_fs_sb.h
@@ -0,0 +1,33 @@
+/*
+ * include/linux/bfs_fs_sb.h
+ * Copyright (C) 1999 Tigran Aivazian <tigran@ocston.org>
+ */
+
+#ifndef _LINUX_BFS_FS_SB
+#define _LINUX_BFS_FS_SB
+
+/*
+ * BFS block map entry, an array of these is kept in bfs_sb_info.
+ */
+ struct bfs_bmap {
+ unsigned long start, end;
+ };
+
+/*
+ * BFS file system in-core superblock info
+ */
+struct bfs_sb_info {
+ unsigned long si_blocks;
+ unsigned long si_freeb;
+ unsigned long si_freei;
+ unsigned long si_lf_ioff;
+ unsigned long si_lf_sblk;
+ unsigned long si_lf_eblk;
+ unsigned long si_lasti;
+ struct bfs_bmap * si_bmap;
+ char * si_imap;
+ struct buffer_head * si_sbh; /* buffer header w/superblock */
+ struct bfs_super_block * si_bfs_sb; /* superblock in si_sbh->b_data */
+};
+
+#endif /* _LINUX_BFS_FS_SB */