From 523884d1f0d1dd54dc2d4b23feab7c5b07fb749d Mon Sep 17 00:00:00 2001 From: huanghua Date: Wed, 7 Dec 2005 09:09:53 +0000 Subject: [PATCH] add nosvc to mount option --- lustre/obdclass/obd_mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.8.3.1