Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r=adilger,phil
[fs/lustre-release.git]
/
lustre
/
obdfilter
/
filter_io_24.c
diff --git
a/lustre/obdfilter/filter_io_24.c
b/lustre/obdfilter/filter_io_24.c
index
6ab28db
..
15ac8e9
100644
(file)
--- a/
lustre/obdfilter/filter_io_24.c
+++ b/
lustre/obdfilter/filter_io_24.c
@@
-251,7
+251,7
@@
int filter_commitrw_write(struct obd_export *exp, struct obdo *oa, int objcount,
GOTO(cleanup, rc);
cleanup_phase = 1;
-#if
(LINUX_VERSION_CODE == KERNEL_VERSION(2,4,18))
+#if
def HAVE_KIOBUF_DOVARY
iobuf->dovary = 0; /* this prevents corruption, not present in 2.4.20 */
#endif
rc = expand_kiobuf(iobuf, obj->ioo_bufcnt);