aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_alloc.c')
-rw-r--r--fs/xfs/xfs_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_alloc.c b/fs/xfs/xfs_alloc.c
index 0ad23253e8b1..a8beb5c7dd60 100644
--- a/fs/xfs/xfs_alloc.c
+++ b/fs/xfs/xfs_alloc.c
@@ -842,7 +842,7 @@ xfs_alloc_ag_vextent_near(
842 */ 842 */
843 int dofirst; /* set to do first algorithm */ 843 int dofirst; /* set to do first algorithm */
844 844
845 dofirst = random32() & 1; 845 dofirst = prandom_u32() & 1;
846#endif 846#endif
847 847
848restart: 848restart: