diff mbox

[opensm,1/2] reduce log level for missing partition configuration file.

Message ID 20131017111046.177713.86458.stgit@fsdevel2 (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Bernd Schubert Oct. 17, 2013, 11:10 a.m. UTC
A missing non-mandatory file is not an error.

Signed-off-by: Bernd Schubert <bernd.schubert@itwm.fraunhofer.de>
---
 opensm/osm_prtn.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Hal Rosenstock Oct. 22, 2013, 5:59 a.m. UTC | #1
On 10/17/2013 7:10 AM, Bernd Schubert wrote:
> A missing non-mandatory file is not an error.
> 
> Signed-off-by: Bernd Schubert <bernd.schubert@itwm.fraunhofer.de>

Thanks. Applied.

-- Hal

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/opensm/osm_prtn.c b/opensm/osm_prtn.c
index 24a1fe3..e76e2e1 100644
--- a/opensm/osm_prtn.c
+++ b/opensm/osm_prtn.c
@@ -383,7 +383,7 @@  ib_api_status_t osm_prtn_make_partitions(osm_log_t * p_log, osm_subn_t * p_subn)
 	file_name = p_subn->opt.partition_config_file ?
 	    p_subn->opt.partition_config_file : OSM_DEFAULT_PARTITION_CONFIG_FILE;
 	if (stat(file_name, &statbuf)) {
-		OSM_LOG(p_log, OSM_LOG_ERROR, "Partition configuration "
+		OSM_LOG(p_log, OSM_LOG_VERBOSE, "Partition configuration "
 			"%s is not accessible (%s)\n", file_name,
 			strerror(errno));
 		is_config = FALSE;