patch-2.4.26 linux-2.4.26/fs/xfs/xfs_alloc.c
Next file: linux-2.4.26/fs/xfs/xfs_attr.h
Previous file: linux-2.4.26/fs/xfs/xfs_ag.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
2004-04-14 06:05:40.000000000 -0700
- Orig file:
linux-2.4.25/fs/xfs/xfs_alloc.c
- Orig date:
2004-02-18 05:36:32.000000000 -0800
diff -urN linux-2.4.25/fs/xfs/xfs_alloc.c linux-2.4.26/fs/xfs/xfs_alloc.c
@@ -780,14 +780,8 @@
/*
* Randomly don't execute the first algorithm.
*/
- static int seed; /* randomizing seed value */
int dofirst; /* set to do first algorithm */
- timespec_t now; /* current time */
- if (!seed) {
- nanotime(&now);
- seed = (int)now.tv_sec ^ (int)now.tv_nsec;
- }
dofirst = random() & 1;
#endif
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)