RETURN(rc);
}
-/* NB: if user issued different migrate command, we can't ajust it silently
+/* NB: if user issued different migrate command, we can't adjust it silently
* here, because this command will decide target MDT in subdir migration in
* LMV.
*/
GOTO(out, rc = -EINVAL);
GOTO(out, rc = -EALREADY);
}
- if (S_ISDIR(attr->la_mode))
- nsonly = spec->sp_migrate_nsonly;
+ nsonly = spec->sp_migrate_nsonly;
} else {
spobj = tpobj;
mdd_object_get(spobj);
return rc;
/* tobj mode will be used in lod_declare_xattr_set(), but it's not
- * createb yet.
+ * created yet.
*/
tobj->mod_obj.mo_lu.lo_header->loh_attr |= S_IFDIR;