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

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)