X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=libcfs%2Finclude%2Flibcfs%2Flucache.h;h=d9a285b48d10cc1b856715da30eed422ccbad1a1;hb=4443604ca437aaafe2a0dc700c1ceb8b131ba126;hp=0f80cddf54ff2b636d88ef0a4874721ba80d659b;hpb=e2af7fb3c91dfb13d34d8e1b2f2df8c09621f768;p=fs%2Flustre-release.git diff --git a/libcfs/include/libcfs/lucache.h b/libcfs/include/libcfs/lucache.h index 0f80cdd..d9a285b 100644 --- a/libcfs/include/libcfs/lucache.h +++ b/libcfs/include/libcfs/lucache.h @@ -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/ @@ -116,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,