X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ffld%2Ffld_internal.h;h=034d9870cf1ea59ce84d95824a9b67fa1a7a3088;hb=20aee71e3b66eb183cddef7a018887078027b815;hp=2c93de3fa653e0d20c5d1f54762b680b7747c5d0;hpb=b15f3875f46eec3c5186fe6b84cf2cda7ceb8518;p=fs%2Flustre-release.git diff --git a/lustre/fld/fld_internal.h b/lustre/fld/fld_internal.h index 2c93de3..034d987 100644 --- a/lustre/fld/fld_internal.h +++ b/lustre/fld/fld_internal.h @@ -26,7 +26,7 @@ * GPL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved + * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. */ /* @@ -71,8 +71,8 @@ struct lu_fld_hash { }; struct fld_cache_entry { - struct list_head fce_lru; - struct list_head fce_list; + cfs_list_t fce_lru; + cfs_list_t fce_list; /** * fld cache entries are sorted on range->lsr_start field. */ struct lu_seq_range fce_range; @@ -83,7 +83,7 @@ struct fld_cache { * Cache guard, protects fci_hash mostly because others immutable after * init is finished. */ - spinlock_t fci_lock; + cfs_spinlock_t fci_lock; /** * Cache shrink threshold */ @@ -99,11 +99,11 @@ struct fld_cache { /** * LRU list fld entries. */ - struct list_head fci_lru; + cfs_list_t fci_lru; /** * sorted fld entries. */ - struct list_head fci_entries_head; + cfs_list_t fci_entries_head; /** * Cache statistics. */