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 lov: convert container_of0() calls.
[fs/lustre-release.git]
/
lustre
/
lov
/
lov_internal.h
diff --git
a/lustre/lov/lov_internal.h
b/lustre/lov/lov_internal.h
index
8e47092
..
d7ca81f
100644
(file)
--- a/
lustre/lov/lov_internal.h
+++ b/
lustre/lov/lov_internal.h
@@
-369,7
+369,7
@@
static inline bool lov_oinfo_is_dummy(const struct lov_oinfo *loi)
static inline struct obd_device *lov2obd(const struct lov_obd *lov)
{
- return container_of
0
(lov, struct obd_device, u.lov);
+ return container_of
_safe
(lov, struct obd_device, u.lov);
}
static inline void lov_lsm2layout(struct lov_stripe_md *lsm,