xfs: rename random32() to prandom_u32()
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Acked-by: <bpm@sgi.com> Cc: Ben Myers <bpm@sgi.com> Cc: Alex Elder <elder@kernel.org> Cc: xfs@oss.sgi.com Signed-off-by: Ben Myers <bpm@sgi.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user