Whamcloud - gitweb
there is no lmd in fill_super
authorlincent <lincent>
Tue, 6 Dec 2005 10:45:20 +0000 (10:45 +0000)
committerlincent <lincent>
Tue, 6 Dec 2005 10:45:20 +0000 (10:45 +0000)
lustre/obdclass/obd_mount.c

index 7a35abe..dc0fdca 100644 (file)
@@ -1154,7 +1154,7 @@ static int server_fill_super(struct super_block *sb)
 
         /*Only start MGS/MGC on servers, no other services, even not
          *actually mount the filesystem. */
-        if (lmd->lmd_flags & LMD_FLG_NOSVC)
+        if (lsi->lsi_lmd->lmd_flags & LMD_FLG_NOSVC)
                 RETURN(0);
 
         /* Set up all obd devices for service */