diff options
Diffstat (limited to 'fs/xfs/xfs_alloc.c')
-rw-r--r-- | fs/xfs/xfs_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_alloc.c b/fs/xfs/xfs_alloc.c index e80dda3437d1..8e9a40aa0cd3 100644 --- a/fs/xfs/xfs_alloc.c +++ b/fs/xfs/xfs_alloc.c | |||
@@ -764,7 +764,7 @@ xfs_alloc_ag_vextent_near( | |||
764 | */ | 764 | */ |
765 | int dofirst; /* set to do first algorithm */ | 765 | int dofirst; /* set to do first algorithm */ |
766 | 766 | ||
767 | dofirst = random() & 1; | 767 | dofirst = random32() & 1; |
768 | #endif | 768 | #endif |
769 | /* | 769 | /* |
770 | * Get a cursor for the by-size btree. | 770 | * Get a cursor for the by-size btree. |