From aaca0e720165bd75dc9f35632b75855bb41518f8 Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 5 Jul 2005 09:22:57 +0000 Subject: [PATCH] Branch b1_4 Don't print an error from modprobe if module loading fails. --- lustre/utils/llmount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/utils/llmount.c b/lustre/utils/llmount.c index 0dac2ba..73a36aa 100644 --- a/lustre/utils/llmount.c +++ b/lustre/utils/llmount.c @@ -412,7 +412,7 @@ set_local(struct lustre_mount_data *lmd) #else case SOCKNAL: /* We need to do this before the mount is started if routing */ - system("/sbin/modprobe ksocknal"); + system("/sbin/modprobe -q ksocknal"); case TCPNAL: case OPENIBNAL: case IIBNAL: @@ -468,7 +468,7 @@ set_local(struct lustre_mount_data *lmd) int i = 0; /* We need to do this before the mount is started if routing */ - system("/sbin/modprobe kqswnal"); + system("/sbin/modprobe -q kqswnal"); do { rc = get_local_elan_id(pfiles[i], buf); } while (rc != 0 && pfiles[++i] != NULL); -- 1.8.3.1