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
Another very major cleanup:
[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
9d05040
..
193c083
100644
(file)
--- a/
lustre/include/linux/obd_class.h
+++ b/
lustre/include/linux/obd_class.h
@@
-249,7
+249,7
@@
static __inline__ struct obdo *obdo_fromid(struct obd_conn *conn, obd_id id,
EXIT;
return ERR_PTR(-ENOMEM);
}
- memset(oa, 0, sizeof(*oa));
+
oa->o_id = id;
oa->o_valid = valid;
if ((err = OBP(conn->oc_dev, getattr)(conn, oa))) {