treewide: use get_random_u32() when possible
[linux-block.git] / fs / xfs / libxfs / xfs_ialloc.c
index 7838b31126e22536347350742186833d54bb2a25..94db50eb706ac5e560a65e001142f40442dbd932 100644 (file)
@@ -805,7 +805,7 @@ sparse_alloc:
         * number from being easily guessable.
         */
        error = xfs_ialloc_inode_init(args.mp, tp, NULL, newlen, pag->pag_agno,
-                       args.agbno, args.len, prandom_u32());
+                       args.agbno, args.len, get_random_u32());
 
        if (error)
                return error;