Whamcloud - gitweb
LU-9059 utils: skip label check for client
[fs/lustre-release.git] / lustre / utils / mount_lustre.c
index 1b36529..8c597cd 100644 (file)
@@ -848,7 +848,8 @@ int main(int argc, char *const argv[])
                        rc = mount(mop.mo_source, mop.mo_target, "lustre",
                                   flags, (void *)options);
                        if (rc == 0) {
-                               label_lustre(&mop);
+                               if (!client)
+                                       label_lustre(&mop);
                        } else {
                                 if (verbose) {
                                         fprintf(stderr, "%s: mount %s at %s "