Whamcloud - gitweb
LU-2934 lnet: Add LNet Router Priority parameter
[fs/lustre-release.git] / libcfs / include / libcfs / lucache.h
index 9c75c61..d9a285b 100644 (file)
@@ -26,6 +26,8 @@
 /*
  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright (c) 2012, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
 #ifndef _LUCACHE_H
 #define _LUCACHE_H
 
-#ifndef EXPORT_SYMTAB
-# define EXPORT_SYMTAB
-#endif
-
 #include <libcfs/libcfs.h>
 
 /** \defgroup ucache ucache
@@ -120,15 +118,15 @@ struct upcall_cache_ops {
 };
 
 struct upcall_cache {
-        cfs_list_t              uc_hashtable[UC_CACHE_HASH_SIZE];
-        cfs_spinlock_t          uc_lock;
-        cfs_rwlock_t            uc_upcall_rwlock;
-
-        char                    uc_name[40];            /* for upcall */
-        char                    uc_upcall[UC_CACHE_UPCALL_MAXPATH];
-        int                     uc_acquire_expire;      /* seconds */
-        int                     uc_entry_expire;        /* seconds */
-        struct upcall_cache_ops *uc_ops;
+       cfs_list_t              uc_hashtable[UC_CACHE_HASH_SIZE];
+       spinlock_t              uc_lock;
+       rwlock_t                uc_upcall_rwlock;
+
+       char                    uc_name[40];            /* for upcall */
+       char                    uc_upcall[UC_CACHE_UPCALL_MAXPATH];
+       int                     uc_acquire_expire;      /* seconds */
+       int                     uc_entry_expire;        /* seconds */
+       struct upcall_cache_ops *uc_ops;
 };
 
 struct upcall_cache_entry *upcall_cache_get_entry(struct upcall_cache *cache,