Whamcloud - gitweb
LU-6025 utils: reset optind before calls to getopt_long()
[fs/lustre-release.git] / lustre / lov / lov_cl_internal.h
index c136dce..9add90c 100644 (file)
@@ -27,7 +27,7 @@
  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2012, 2013, Intel Corporation.
+ * Copyright (c) 2012, 2014, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -762,8 +762,8 @@ static inline struct lov_thread_info *lov_env_info(const struct lu_env *env)
 static inline struct lov_layout_raid0 *lov_r0(struct lov_object *lov)
 {
        LASSERT(lov->lo_type == LLT_RAID0);
-       LASSERT(lov->lo_lsm->lsm_wire.lw_magic == LOV_MAGIC ||
-               lov->lo_lsm->lsm_wire.lw_magic == LOV_MAGIC_V3);
+       LASSERT(lov->lo_lsm->lsm_magic == LOV_MAGIC ||
+               lov->lo_lsm->lsm_magic == LOV_MAGIC_V3);
        return &lov->u.raid0;
 }