Whamcloud - gitweb
LU-17685 utils: Allow nocompr flag in lfs mirror extend
[fs/lustre-release.git] / lustre / utils / liblustreapi_layout.c
index da74518..332af24 100644 (file)
@@ -3642,7 +3642,8 @@ static int llapi_layout_sanity_cb(struct llapi_layout *layout,
                                args->lsa_rc = LSE_FLAGS;
                } else {
                        if (comp->llc_flags &
-                           ~(LCME_FL_EXTENSION | LCME_FL_PREF_RW))
+                           ~(LCME_FL_EXTENSION | LCME_FL_PREF_RW |
+                             LCME_FL_NOCOMPR))
                                args->lsa_rc = LSE_FLAGS;
                }
        }