-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+/*
+ * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
+ * Copyright (c) 2012, Intel Corporation.
+ *
* Author: Nikita Danilov <nikita.danilov@sun.com>
*
* This file is part of Lustre, http://www.lustre.org.
* etc.) refer to.
*/
struct lu_ref {
- /**
- * Spin-lock protecting lu_ref::lf_list.
- */
- cfs_spinlock_t lf_guard;
+ /**
+ * 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.