Whamcloud - gitweb
LU-11025 dne: refactor dir migration
[fs/lustre-release.git] / lustre / mdt / mdt_lib.c
index 71290c2..ff76d12 100644 (file)
@@ -1520,6 +1520,8 @@ static int mdt_migrate_unpack(struct mdt_thread_info *info)
                        RETURN(rc);
 
                spec->sp_migrate_close = 1;
+       } else {
+               spec->sp_migrate_close = 0;
        }
 
        /* lustre version > 2.11 migration packs lum */