* [PATCH] opensm/osm_opensm.c: Conditionalize sa_db_file_dump on sa_db_dump option
@ 2011-03-25 22:10 Hal Rosenstock
[not found] ` <4D8D12DB.2060805-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2011-03-25 22:10 UTC (permalink / raw)
To: Alex Netes; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
in osm_opensm_destroy
Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
diff --git a/opensm/opensm/osm_opensm.c b/opensm/opensm/osm_opensm.c
index 0de5fa4..5007dd2 100644
--- a/opensm/opensm/osm_opensm.c
+++ b/opensm/opensm/osm_opensm.c
@@ -273,7 +273,8 @@ void osm_opensm_destroy(IN osm_opensm_t * p_osm)
cl_disp_shutdown(&p_osm->disp);
/* dump SA DB */
- osm_sa_db_file_dump(p_osm);
+ if (p_osm->subn.opt.sa_db_dump)
+ osm_sa_db_file_dump(p_osm);
/* do the destruction in reverse order as init */
destroy_plugins(p_osm);
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] opensm/osm_opensm.c: Conditionalize sa_db_file_dump on sa_db_dump option
[not found] ` <4D8D12DB.2060805-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2011-03-27 16:26 ` Alex Netes
0 siblings, 0 replies; 2+ messages in thread
From: Alex Netes @ 2011-03-27 16:26 UTC (permalink / raw)
To: Hal Rosenstock; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA
On 00:10 Sat 26 Mar , Hal Rosenstock wrote:
> in osm_opensm_destroy
>
> Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---
Applied. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-27 16:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-25 22:10 [PATCH] opensm/osm_opensm.c: Conditionalize sa_db_file_dump on sa_db_dump option Hal Rosenstock
[not found] ` <4D8D12DB.2060805-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-03-27 16:26 ` Alex Netes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox