X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdclass%2Flu_object.c;h=adf814b08971fd0aa546525b66e832a0a65d1932;hp=3d09e47d08b101e57facf5db3c3f4142f42001a6;hb=55c33b70c46fde1b62f9852dc361d382a7722009;hpb=7d0db895b524410ddac146f80d764be4c0ad2f46 diff --git a/lustre/obdclass/lu_object.c b/lustre/obdclass/lu_object.c index 3d09e47..adf814b 100644 --- a/lustre/obdclass/lu_object.c +++ b/lustre/obdclass/lu_object.c @@ -1850,10 +1850,9 @@ int lu_context_refill(struct lu_context *ctx) * predefined when the lu_device type are registered, during the module probe * phase. */ -u32 lu_context_tags_default; -u32 lu_session_tags_default; +u32 lu_context_tags_default = LCT_CL_THREAD; +u32 lu_session_tags_default = LCT_SESSION; -#ifdef HAVE_SERVER_SUPPORT void lu_context_tags_update(__u32 tags) { spin_lock(&lu_context_remembered_guard); @@ -1889,7 +1888,6 @@ void lu_session_tags_clear(__u32 tags) spin_unlock(&lu_context_remembered_guard); } EXPORT_SYMBOL(lu_session_tags_clear); -#endif /* HAVE_SERVER_SUPPORT */ int lu_env_init(struct lu_env *env, __u32 tags) {