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-6142 obdclass: convert calls to container_of0()
[fs/lustre-release.git]
/
lustre
/
obdclass
/
dt_object.c
diff --git
a/lustre/obdclass/dt_object.c
b/lustre/obdclass/dt_object.c
index
eddcaa7
..
d334398
100644
(file)
--- a/
lustre/obdclass/dt_object.c
+++ b/
lustre/obdclass/dt_object.c
@@
-240,7
+240,7
@@
struct dt_object *dt_locate_at(const struct lu_env *env,
list_for_each_entry(n, &lo->lo_header->loh_layers, lo_linkage) {
if (n->lo_dev == &dev->dd_lu_dev)
- return container_of
0
(n, struct dt_object, do_lu);
+ return container_of(n, struct dt_object, do_lu);
}
lu_object_put(env, lo);