Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dc39cb8
)
b=17370
author
alex
<alex>
Tue, 14 Oct 2008 10:35:34 +0000
(10:35 +0000)
committer
alex
<alex>
Tue, 14 Oct 2008 10:35:34 +0000
(10:35 +0000)
- fix warning caused by unused vars
lustre/obdfilter/filter_io.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter_io.c
b/lustre/obdfilter/filter_io.c
index
05e158e
..
22d56c2
100644
(file)
--- 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;
}
}