RETURN(rc);
}
-static int mdd_changelog_data_store_xattr(const struct lu_env *env,
- struct mdd_device *mdd,
- enum changelog_rec_type type,
- int flags, struct mdd_object *mdd_obj,
- const char *xattr_name,
- struct thandle *handle)
+int mdd_changelog_data_store_xattr(const struct lu_env *env,
+ struct mdd_device *mdd,
+ enum changelog_rec_type type,
+ int flags, struct mdd_object *mdd_obj,
+ const char *xattr_name,
+ struct thandle *handle)
{
int rc;
RETURN(rc);
}
+ if (strcmp(name, XATTR_NAME_LMV) == 0) {
+ rc = mdd_dir_layout_shrink(env, obj, buf);
+ RETURN(rc);
+ }
+
if (strcmp(name, XATTR_NAME_ACL_ACCESS) == 0 ||
strcmp(name, XATTR_NAME_ACL_DEFAULT) == 0) {
struct posix_acl *acl;