Whamcloud - gitweb
b=17370
authoralex <alex>
Tue, 14 Oct 2008 10:35:34 +0000 (10:35 +0000)
committeralex <alex>
Tue, 14 Oct 2008 10:35:34 +0000 (10:35 +0000)
 - fix warning caused by unused vars

lustre/obdfilter/filter_io.c

index 05e158e..22d56c2 100644 (file)
@@ -331,6 +331,9 @@ void filter_invalidate_cache(struct obd_device *obd, struct obd_ioobj *obj,
                 obd_off start = rnb->offset >> CFS_PAGE_SHIFT;
                 obd_off end = (rnb->offset + rnb->len) >> CFS_PAGE_SHIFT;
                 invalidate_mapping_pages(inode->i_mapping, start, end);
+                /* just to avoid warnings */
+                start = 0;
+                end = 0;
         }
         
 }