Whamcloud - gitweb
LU-13666 lod: update .do_index_ops on layout detach
[fs/lustre-release.git] / lustre / lod / lod_object.c
index 73dab58..352db91 100644 (file)
@@ -8155,6 +8155,7 @@ static int lod_dir_layout_detach(const struct lu_env *env,
        lo->ldo_stripe = NULL;
        lo->ldo_dir_stripes_allocated = 0;
        lo->ldo_dir_stripe_count = 0;
+       dt->do_index_ops = &lod_index_ops;
 
        RETURN(rc);
 }