Whamcloud - gitweb
LU-11213 lmv: mkdir with balanced space usage
[fs/lustre-release.git] / lustre / lod / lod_lov.c
index c139e49..c711e39 100644 (file)
@@ -1526,7 +1526,7 @@ int lod_striping_load(const struct lu_env *env, struct lod_object *lo)
                        }
                }
 
-               if (rc < (typeof(rc))sizeof(struct lmv_mds_md_v1)) {
+               if (rc < (int)sizeof(struct lmv_mds_md_v1)) {
                        /* Let's set stripe_loaded to avoid further
                         * stripe loading especially for non-stripe directory,
                         * which can hurt performance. (See LU-9840)