Whamcloud - gitweb
add nosvc to mount option
authorhuanghua <huanghua>
Wed, 7 Dec 2005 09:09:53 +0000 (09:09 +0000)
committerhuanghua <huanghua>
Wed, 7 Dec 2005 09:09:53 +0000 (09:09 +0000)
lustre/obdclass/obd_mount.c

index cd74c9e..564a136 100644 (file)
@@ -1157,7 +1157,7 @@ static int server_fill_super(struct super_block *sb)
          *actually mount the filesystem. */
 
         /* Set up all obd devices for service */
-        if (!(lmd->lmd_flags & LMD_FLG_NOSVC) && 
+        if (!(lsi->lsi_lmd->lmd_flags & LMD_FLG_NOSVC) && 
                 (IS_OST(lsi->lsi_ldd) || IS_MDT(lsi->lsi_ldd))) {
                 rc = server_start_targets(sb, mnt);
                 if (rc < 0) {