projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use get_random_u32() when possible
[linux-block.git]
/
fs
/
xfs
/
xfs_log.c
diff --git
a/fs/xfs/xfs_log.c
b/fs/xfs/xfs_log.c
index f6e7e4fd72ae71da2fbe548cce0bad11b6f197b9..f02a0dd522b3df1316df282e168c6d429792e5d2 100644
(file)
--- a/
fs/xfs/xfs_log.c
+++ b/
fs/xfs/xfs_log.c
@@
-3544,7
+3544,7
@@
xlog_ticket_alloc(
tic->t_curr_res = unit_res;
tic->t_cnt = cnt;
tic->t_ocnt = cnt;
- tic->t_tid =
p
random_u32();
+ tic->t_tid =
get_
random_u32();
if (permanent)
tic->t_flags |= XLOG_TIC_PERM_RESERV;