patch-2.3.26 linux/include/linux/bfs_fs_sb.h

Next file: linux/include/linux/blkdev.h
Previous file: linux/include/linux/bfs_fs_i.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.25/linux/include/linux/bfs_fs_sb.h linux/include/linux/bfs_fs_sb.h
@@ -7,17 +7,25 @@
 #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 {
-	__u32 si_blocks;
-	__u32 si_freeb;
-	__u32 si_freei;
-	__u32 si_lf_ioff;
-	__u32 si_lf_sblk;
-	__u32 si_lf_eblk;
-	__u32 si_lasti;
-	__u8 *si_imap;
+	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 */
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)