Whamcloud - gitweb
things are starting to work for Linux 2.4.2!!
[fs/lustre-release.git] / lustre / include / linux / obd_raid1.h
index d668fca..a1ecc41 100644 (file)
 #endif
 
 struct raid1_obd {
-       unsigned int raid1_count; /* how many replicas */
-       /* devices to replicate on */
-       struct obd_device *raid1_devlist[MAX_RAID1];
-       /* connections we make */
-       struct obd_conn_info raid1_connections[MAX_RAID1];
-       struct list_head raid1_clients;  /* clients we have */
+        unsigned int raid1_count; /* how many replicas */
+        /* devices to replicate on */
+        struct obd_device *raid1_devlist[MAX_RAID1];
+        /* connections we make */
+        struct obd_conn_info raid1_connections[MAX_RAID1];
+        struct list_head raid1_clients;  /* clients we have */
 };
 
 
@@ -35,8 +35,8 @@ void ext2_free_blocks (const struct inode * inode, unsigned long block,
 unsigned long ext2_count_free_blocks (struct super_block * sb);
 int ext2_group_sparse(int group);
 struct ext2_group_desc * ext2_get_group_desc(struct super_block * sb,
-                                            unsigned int block_group,
-                                            struct buffer_head ** bh);
+                                             unsigned int block_group,
+                                             struct buffer_head ** bh);
 
 /* bitmap.c */
 unsigned long ext2_count_free(struct buffer_head * map, unsigned int numchars);
@@ -46,12 +46,11 @@ extern int obd_sync_file(struct file * file, struct dentry *dentry);
 
 /* ialloc.c */
 extern void ext2_free_inode (struct inode * inode);
-extern struct inode * ext2_new_inode (const struct inode * dir, int mode,
-                                    int * err);
+extern struct inode * ext2_new_inode (const struct inode * dir, int mode);
 extern unsigned long ext2_count_free_inodes (struct super_block * sb);
 extern void ext2_check_inodes_bitmap (struct super_block * sb);
 extern int load_inode_bitmap (struct super_block * sb,
-                             unsigned int block_group);
+                              unsigned int block_group);
 
 /* inode.c */
 void obd_read_inode (struct inode * inode);
@@ -68,7 +67,7 @@ struct buffer_head * obd_getblk (struct inode * inode, long block,
 
 int obd_remount (struct super_block * sb, int * flags, char * data);
 struct super_block * ext2_read_super (struct super_block * sb, void * data,
-                                     int silent);
+                                      int silent);
 
 /* truncate.c */
 void obd_truncate (struct inode * inode);