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
- fixed obd_brw_read bug
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
events.c
diff --git
a/lustre/ptlrpc/events.c
b/lustre/ptlrpc/events.c
index
3c4ad5a
..
2d0f516
100644
(file)
--- a/
lustre/ptlrpc/events.c
+++ b/
lustre/ptlrpc/events.c
@@
-169,6
+169,11
@@
static int bulk_sink_callback(ptl_event_t *ev, void *data)
BUG();
}
+ /* FIXME: This should happen unconditionally */
+ if (bulk->b_cb != NULL) {
+ OBD_FREE(bulk, sizeof(*bulk));
+ }
+
EXIT;
return 1;
}