xfs: rename random32() to prandom_u32()
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_ialloc.c
index 515bf71ce01ce790e0bab557384a0dfb07c3544a..ba626613bf492399bcd64753fbfb4d46e9713aa2 100644 (file)
@@ -369,7 +369,7 @@ xfs_ialloc_ag_alloc(
         * number from being easily guessable.
         */
        error = xfs_ialloc_inode_init(args.mp, tp, agno, args.agbno,
-                       args.len, random32());
+                       args.len, prandom_u32());
 
        if (error)
                return error;