summaryrefslogtreecommitdiffstats
path: root/src/H5SL.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5SL.c')
-rw-r--r--src/H5SL.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/H5SL.c b/src/H5SL.c
index 4f1305c..4202481 100644
--- a/src/H5SL.c
+++ b/src/H5SL.c
@@ -203,7 +203,7 @@ H5FL_BARR_DEFINE_STATIC(H5SL_node_t,H5SL_node_ptr_t,H5SL_LEVEL_MAX);
EXAMPLES
REVISION LOG
--------------------------------------------------------------------------*/
-static herr_t
+ static herr_t
H5SL_init_interface(void)
{
time_t curr_time; /* Current time, for seeding random number generator */
@@ -214,12 +214,14 @@ H5SL_init_interface(void)
* This causes Lustre on Redstorm to hang with following errors. (Lustre
* has fix it, but not deployed at RedStorm yet.
* (client.c:568:ptlrpc_check_status()) @@@ type == PTL_RPC_MSG_ERR, err == -114 req@0x57a9660 x1/t0 o38->mds_l2@MDS_PEER_UUID:12 lens 240/272 ref 1 fl Rpc:R/100000/0 rc 0/-114
- */
-#ifndef RED_STORM
- /* Create randomized set of numbers */
+ *
+ * 3/6/06. LA:
+ * Shouldn't need patch anymore because HDsrand will use rand_r on Red Storm instead of srand.
+ */
+
+/* Create randomized set of numbers */
curr_time=HDtime(NULL);
HDsrand((unsigned)curr_time);
-#endif
FUNC_LEAVE_NOAPI(SUCCEED)
} /* end H5SL_init_interface() */