From: huanghua Date: Wed, 7 Dec 2005 09:09:53 +0000 (+0000) Subject: add nosvc to mount option X-Git-Tag: v1_8_0_110~486^4~106 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=523884d1f0d1dd54dc2d4b23feab7c5b07fb749d;p=fs%2Flustre-release.git add nosvc to mount option --- diff --git a/lustre/obdclass/obd_mount.c b/lustre/obdclass/obd_mount.c index cd74c9e..564a136 100644 --- a/lustre/obdclass/obd_mount.c +++ b/lustre/obdclass/obd_mount.c @@ -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) {