Whamcloud - gitweb
LU-13224 utils: expose llapi_param* functions
[fs/lustre-release.git] / lustre / lov / lov_merge.c
index de9e429..c82db71 100644 (file)
@@ -23,7 +23,7 @@
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2012, 2015, Intel Corporation.
+ * Copyright (c) 2012, 2017, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -56,7 +56,7 @@ int lov_merge_lvb_kms(struct lov_stripe_md *lsm, int index,
        int rc = 0;
 
        assert_spin_locked(&lsm->lsm_lock);
-       LASSERT(lsm->lsm_lock_owner == current_pid());
+       LASSERT(lsm->lsm_lock_owner == current->pid);
 
        CDEBUG(D_INODE, "MDT ID "DOSTID" initial value: s=%llu m=%llu"
               " a=%llu c=%llu b=%llu\n", POSTID(&lsm->lsm_oi),