diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2013-03-04 13:58:20 +0100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-03-07 19:33:57 +0100 |
commit | ecb3403de1efb56f78d9093376aec0a8af76b316 (patch) | |
tree | 54f0c677d9ff10994b57ad3593241df0c4cbb987 /fs/xfs/xfs_log.c | |
parent | xfs: don't verify buffers after IO errors (diff) | |
download | linux-ecb3403de1efb56f78d9093376aec0a8af76b316.tar.xz linux-ecb3403de1efb56f78d9093376aec0a8af76b316.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index eec226f78a40..b345a7c85153 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c @@ -3485,7 +3485,7 @@ xlog_ticket_alloc( tic->t_curr_res = unit_bytes; tic->t_cnt = cnt; tic->t_ocnt = cnt; - tic->t_tid = random32(); + tic->t_tid = prandom_u32(); tic->t_clientid = client; tic->t_flags = XLOG_TIC_INITED; tic->t_trans_type = 0; |