From 3677bf4d6d4316f286ece1d71ef0e6eb840696c3 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 14 Oct 2008 10:35:34 +0000 Subject: [PATCH] b=17370 - fix warning caused by unused vars --- lustre/obdfilter/filter_io.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/obdfilter/filter_io.c b/lustre/obdfilter/filter_io.c index 05e158e..22d56c2 100644 --- a/lustre/obdfilter/filter_io.c +++ b/lustre/obdfilter/filter_io.c @@ -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; } } -- 1.8.3.1