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 lustre: convert some container_of0 to container_of
[fs/lustre-release.git]
/
lustre
/
target
/
tgt_lastrcvd.c
diff --git
a/lustre/target/tgt_lastrcvd.c
b/lustre/target/tgt_lastrcvd.c
index
0db82ed
..
aac5a6f
100644
(file)
--- a/
lustre/target/tgt_lastrcvd.c
+++ b/
lustre/target/tgt_lastrcvd.c
@@
-529,7
+529,7
@@
static void tgt_cb_new_client(struct lu_env *env, struct thandle *th,
{
struct tgt_new_client_callback *ccb;
- ccb = container_of
0
(cb, struct tgt_new_client_callback, lncc_cb);
+ ccb = container_of(cb, struct tgt_new_client_callback, lncc_cb);
LASSERT(ccb->lncc_exp->exp_obd);
@@
-867,7
+867,7
@@
static void tgt_cb_last_committed(struct lu_env *env, struct thandle *th,
{
struct tgt_last_committed_callback *ccb;
- ccb = container_of
0
(cb, struct tgt_last_committed_callback, llcc_cb);
+ ccb = container_of(cb, struct tgt_last_committed_callback, llcc_cb);
LASSERT(ccb->llcc_exp);
LASSERT(ccb->llcc_tgt != NULL);