Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=23428 Fix lustre built with --enable-lu_ref
[fs/lustre-release.git]
/
lustre
/
obdclass
/
lustre_handles.c
diff --git
a/lustre/obdclass/lustre_handles.c
b/lustre/obdclass/lustre_handles.c
index
abd436d
..
9c91df3
100644
(file)
--- a/
lustre/obdclass/lustre_handles.c
+++ b/
lustre/obdclass/lustre_handles.c
@@
-26,7
+26,7
@@
* GPL HEADER END
*/
/*
* GPL HEADER END
*/
/*
- * Copyright
2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright
(c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
* Use is subject to license terms.
*/
/*
@@
-238,11
+238,11
@@
int class_handle_init(void)
}
/** bug 21430: add randomness to the initial base */
}
/** bug 21430: add randomness to the initial base */
-
ll
_get_random_bytes(seed, sizeof(seed));
+
cfs
_get_random_bytes(seed, sizeof(seed));
cfs_gettimeofday(&tv);
cfs_gettimeofday(&tv);
-
ll
_srand(tv.tv_sec ^ seed[0], tv.tv_usec ^ seed[1]);
+
cfs
_srand(tv.tv_sec ^ seed[0], tv.tv_usec ^ seed[1]);
-
ll
_get_random_bytes(&handle_base, sizeof(handle_base));
+
cfs
_get_random_bytes(&handle_base, sizeof(handle_base));
LASSERT(handle_base != 0ULL);
return 0;
LASSERT(handle_base != 0ULL);
return 0;