projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfs: rename random32() to prandom_u32()
[firefly-linux-kernel-4.4.55.git]
/
fs
/
xfs
/
xfs_log.c
diff --git
a/fs/xfs/xfs_log.c
b/fs/xfs/xfs_log.c
index eec226f78a4060f053235399952db73778da8afa..b345a7c85153dda82825050a8d1234ed4c73c541 100644
(file)
--- 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 =
random
32();
+ tic->t_tid =
prandom_u
32();
tic->t_clientid = client;
tic->t_flags = XLOG_TIC_INITED;
tic->t_trans_type = 0;