Whamcloud - gitweb
LU-7117 osp: set ptlrpc_request::rq_allow_replay properly
[fs/lustre-release.git] / lustre / lov / lovsub_page.c
index ee1eadf..0d4594d 100644 (file)
@@ -27,7 +27,7 @@
  * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2013, Intel Corporation.
+ * Copyright (c) 2013, 2014, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -62,12 +62,12 @@ static const struct cl_page_operations lovsub_page_ops = {
 };
 
 int lovsub_page_init(const struct lu_env *env, struct cl_object *obj,
-                    struct cl_page *page, pgoff_t ind)
+                    struct cl_page *page, pgoff_t index)
 {
        struct lovsub_page *lsb = cl_object_page_slice(obj, page);
        ENTRY;
 
-       cl_page_slice_add(page, &lsb->lsb_cl, obj, &lovsub_page_ops);
+       cl_page_slice_add(page, &lsb->lsb_cl, obj, index, &lovsub_page_ops);
        RETURN(0);
 }