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
LU-2217 build: fix 'NULL pointer dereference' errors
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_obd.c
diff --git
a/lustre/ofd/ofd_obd.c
b/lustre/ofd/ofd_obd.c
index
f4f8bcd
..
fd1f6e0
100644
(file)
--- a/
lustre/ofd/ofd_obd.c
+++ b/
lustre/ofd/ofd_obd.c
@@
-316,7
+316,7
@@
static int ofd_obd_connect(const struct lu_env *env, struct obd_export **_exp,
}
CDEBUG(D_HA, "%s: get connection from MDS %d\n", obd->obd_name,
- data
->ocd_group
);
+ data
? data->ocd_group : -1
);
out:
if (rc != 0) {