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
Makefile: made "all" the default target
[fs/lustre-release.git]
/
lustre
/
include
/
linux
/
obd_class.h
diff --git
a/lustre/include/linux/obd_class.h
b/lustre/include/linux/obd_class.h
index
4f16f4f
..
640f691
100644
(file)
--- a/
lustre/include/linux/obd_class.h
+++ b/
lustre/include/linux/obd_class.h
@@
-238,7
+238,7
@@
static __inline__ obdattr *obd_oa_fromid(struct obd_conn *conn, objid id)
OBD_ALLOC(res, obdattr *, sizeof(*res));
if ( !res )
return NULL;
-
+ memset(res, 0, sizeof(*res));
res->i_ino = id;
if (conn->oc_dev->obd_type->typ_ops->o_getattr(conn, res)) {
OBD_FREE(res, sizeof(*res));