X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flu_ref.h;h=81ada8c3013d9ce56e7522157d82177ed3daa6ed;hb=0087ac980cae2ebb652671a8c1b51c628ab7ba3b;hp=3ff67e0d9df40ae75e2c8f2ee6b328c9c7829ddc;hpb=a3850a044ef7cc2658b355672338b9865ed59fe4;p=fs%2Flustre-release.git diff --git a/lustre/include/lu_ref.h b/lustre/include/lu_ref.h index 3ff67e0..81ada8c 100644 --- a/lustre/include/lu_ref.h +++ b/lustre/include/lu_ref.h @@ -2,7 +2,7 @@ * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2012, Intel Corporation. + * Copyright (c) 2012, 2013, Intel Corporation. * * Author: Nikita Danilov * @@ -121,11 +121,11 @@ struct lu_ref { * Spin-lock protecting lu_ref::lf_list. */ spinlock_t lf_guard; - /** - * List of all outstanding references (each represented by struct - * lu_ref_link), pointing to this object. - */ - cfs_list_t lf_list; + /** + * List of all outstanding references (each represented by struct + * lu_ref_link), pointing to this object. + */ + struct list_head lf_list; /** * # of links. */ @@ -147,12 +147,12 @@ struct lu_ref { /** * Linkage into a global list of all lu_ref's (lu_ref_refs). */ - cfs_list_t lf_linkage; + struct list_head lf_linkage; }; struct lu_ref_link { struct lu_ref *ll_ref; - cfs_list_t ll_linkage; + struct list_head ll_linkage; const char *ll_scope; const void *ll_source; };