Whamcloud - gitweb
LU-5062 llite: Solve a race to access lli_has_smd in read case
[fs/lustre-release.git] / lustre / obdclass / lu_ucred.c
index cfa7a56..6c61a5b 100644 (file)
  * This file is part of Lustre, http://www.lustre.org/
  * Lustre is a trademark of Sun Microsystems, Inc.
  *
- * lustre/obdclass/lu_object.c
+ * lustre/obdclass/lu_ucred.c
  *
- * Lustre Object.
- * These are the only exported functions, they provide some generic
- * infrastructure for managing object devices
+ * Lustre user credentials context infrastructure.
  *
  *   Author: Nikita Danilov <nikita.danilov@sun.com>
+ *   Author: Fan Yong <fan.yong@intel.com>
+ *   Author: Vitaly Fertman <vitaly_fertman@xyratex.com>
  */
 
 #define DEBUG_SUBSYSTEM S_CLASS
@@ -53,7 +53,7 @@
 LU_KEY_INIT_FINI(lu_ucred, struct lu_ucred);
 
 static struct lu_context_key lu_ucred_key = {
-       .lct_tags = LCT_SESSION,
+       .lct_tags = LCT_SERVER_SESSION,
        .lct_init = lu_ucred_key_init,
        .lct_fini = lu_ucred_key_fini
 };