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
(parent:
e41d487
)
b=21477
author
panda
<panda>
Thu, 3 Dec 2009 16:52:52 +0000
(16:52 +0000)
committer
panda
<panda>
Thu, 3 Dec 2009 16:52:52 +0000
(16:52 +0000)
i=Johann Lombardi
i=Dmitry Zogin
check connection for NULL (for the obdecho client)
lustre/obdfilter/filter_io.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter_io.c
b/lustre/obdfilter/filter_io.c
index
d579f5f
..
a42568f
100644
(file)
--- a/
lustre/obdfilter/filter_io.c
+++ b/
lustre/obdfilter/filter_io.c
@@
-656,7
+656,8
@@
static int filter_preprw_write(int cmd, struct obd_export *exp, struct obdo *oa,
LASSERT(objcount == 1);
LASSERT(obj->ioo_bufcnt > 0);
- if (exp->exp_connection->c_peer.nid == exp->exp_connection->c_self)
+ if (exp->exp_connection &&
+ exp->exp_connection->c_peer.nid == exp->exp_connection->c_self)
localreq = 1;
push_ctxt(&saved, &obd->obd_lvfs_ctxt, NULL);