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-8837 lustre: remove target declarations from obd.h
[fs/lustre-release.git]
/
lustre
/
mgs
/
mgs_handler.c
diff --git
a/lustre/mgs/mgs_handler.c
b/lustre/mgs/mgs_handler.c
index
cf4d69f
..
768fa9e
100644
(file)
--- a/
lustre/mgs/mgs_handler.c
+++ b/
lustre/mgs/mgs_handler.c
@@
-1283,8
+1283,7
@@
static int mgs_init0(const struct lu_env *env, struct mgs_device *mgs,
mgs->mgs_obd = obd;
mgs->mgs_obd->obd_lu_dev = &mgs->mgs_dt_dev.dd_lu_dev;
- obd->u.obt.obt_magic = OBT_MAGIC;
- obd->u.obt.obt_instance = 0;
+ obd_obt_init(obd);
/* namespace for mgs llog */
obd->obd_namespace = ldlm_namespace_new(obd ,"MGS",