Whamcloud - gitweb
LU-2886 obdclass: remove obsoleted md_local_file.c
[fs/lustre-release.git] / lustre / quota / qsd_entry.c
index 0970a42..759bb3a 100644 (file)
@@ -21,7 +21,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright (c) 2011, 2012, Intel, Inc.
+ * Copyright (c) 2012, Intel Corporation.
  * Use is subject to license terms.
  *
  * Author: Johann Lombardi <johann.lombardi@intel.com>
@@ -47,7 +47,7 @@ static void qsd_lqe_init(struct lquota_entry *lqe, void *arg)
        LASSERT(!lqe_is_master(lqe));
 
        /* initialize slave parameters */
-       cfs_rwlock_init(&lqe->lqe_lock);
+       rwlock_init(&lqe->lqe_lock);
        memset(&lqe->lqe_lockh, 0, sizeof(lqe->lqe_lockh));
        lqe->lqe_pending_write = 0;
        lqe->lqe_pending_req   = 0;
@@ -330,7 +330,7 @@ int qsd_update_lqe(const struct lu_env *env, struct lquota_entry *lqe,
                                     glb_rec->qbr_softlimit) ? true : false;
 
                LQUOTA_DEBUG(lqe, "updating global index hardlimit: "LPU64", "
-                            "softlimit: "LPU64"\n", glb_rec->qbr_hardlimit,
+                            "softlimit: "LPU64, glb_rec->qbr_hardlimit,
                             glb_rec->qbr_softlimit);
        } else {
                struct lquota_slv_rec *slv_rec = (struct lquota_slv_rec *)rec;