X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Fupcall_cache.h;h=d239a265552b0101ca5096d3ccb799958c0dded5;hp=46cfe651940c3cfac0054c0f717a69c67ef2ef34;hb=e8273a3dd71c4e6ab5ca9de3fbfbc0f7603d6930;hpb=7334a2d33cc4cf4cda0c81b126c4cb8ab28a888d diff --git a/lustre/include/upcall_cache.h b/lustre/include/upcall_cache.h index 46cfe65..d239a26 100644 --- a/lustre/include/upcall_cache.h +++ b/lustre/include/upcall_cache.h @@ -121,7 +121,7 @@ struct upcall_cache_ops { struct upcall_cache { struct list_head uc_hashtable[UC_CACHE_HASH_SIZE]; spinlock_t uc_lock; - rwlock_t uc_upcall_rwlock; + struct rw_semaphore uc_upcall_rwsem; char uc_name[40]; /* for upcall */ char uc_upcall[UC_CACHE_UPCALL_MAXPATH];