Whamcloud - gitweb
Replace \t with spaces
authorjxiong <jxiong>
Sat, 14 Jul 2007 15:41:02 +0000 (15:41 +0000)
committerjxiong <jxiong>
Sat, 14 Jul 2007 15:41:02 +0000 (15:41 +0000)
lustre/obdfilter/filter_io_26.c

index 687ae15..65aa4db 100644 (file)
@@ -105,8 +105,8 @@ static int dio_complete_routine(struct bio *bio, unsigned int done, int error)
         unsigned long        flags;
 
 #ifdef HAVE_PAGE_CONSTANT
-       struct bio_vec *bvl;
-       int i;
+        struct bio_vec *bvl;
+        int i;
 #endif
 
         /* CAVEAT EMPTOR: possibly in IRQ context 
@@ -134,8 +134,8 @@ static int dio_complete_routine(struct bio *bio, unsigned int done, int error)
         }
 
 #ifdef HAVE_PAGE_CONSTANT
-       bio_for_each_segment(bvl, bio, i)
-               ClearPageConstant(bvl->bv_page);
+        bio_for_each_segment(bvl, bio, i)
+                ClearPageConstant(bvl->bv_page);
 #endif
 
         spin_lock_irqsave(&iobuf->dr_lock, flags);
@@ -306,15 +306,15 @@ int filter_do_bio(struct obd_export *exp, struct inode *inode,
                                 nblocks++;
 
 #ifdef HAVE_PAGE_CONSTANT
-                       /* I only set the page to be constant only if it 
-                        * is mapped to a contiguous underlying disk block(s). 
-                        * It will then make sure the corresponding device 
-                        * cache of raid5 will be overwritten by this page. 
-                        * - jay */
+                        /* I only set the page to be constant only if it 
+                         * is mapped to a contiguous underlying disk block(s). 
+                         * It will then make sure the corresponding device 
+                         * cache of raid5 will be overwritten by this page. 
+                         * - jay */
                         if ((rw == OBD_BRW_WRITE) && 
                             (nblocks == blocks_per_page) && 
                             mapping_cap_page_constant_write(inode->i_mapping))
-                               SetPageConstant(page);
+                                SetPageConstant(page);
 #endif
 
                         if (bio != NULL &&