-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright (c) 2012, Whamcloud, Inc.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
/** Hash list in memory, protect by dquot_hash_lock */
cfs_list_t dq_hash;
/** Protect the data in lustre_dquot */
- cfs_semaphore_t dq_sem;
+ cfs_mutex_t dq_mutex;
/** Use count */
cfs_atomic_t dq_refcnt;
/** Pointer of quota info it belongs to */