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-3806 obdclass: add LCT_SERVER_SESSION for server session
[fs/lustre-release.git]
/
lustre
/
include
/
obd_class.h
diff --git
a/lustre/include/obd_class.h
b/lustre/include/obd_class.h
index
378ab30
..
fe1eccc
100644
(file)
--- a/
lustre/include/obd_class.h
+++ b/
lustre/include/obd_class.h
@@
-565,7
+565,7
@@
static inline int obd_setup(struct obd_device *obd, struct lustre_cfg *cfg)
if (ldt != NULL) {
struct lu_context session_ctx;
struct lu_env env;
- lu_context_init(&session_ctx, LCT_SESSION);
+ lu_context_init(&session_ctx, LCT_SESSION
| LCT_SERVER_SESSION
);
session_ctx.lc_thread = NULL;
lu_context_enter(&session_ctx);