treewide: use get_random_u32() when possible
[linux-block.git] / fs / xfs / xfs_log.c
index f6e7e4fd72ae71da2fbe548cce0bad11b6f197b9..f02a0dd522b3df1316df282e168c6d429792e5d2 100644 (file)
@@ -3544,7 +3544,7 @@ xlog_ticket_alloc(
        tic->t_curr_res         = unit_res;
        tic->t_cnt              = cnt;
        tic->t_ocnt             = cnt;
-       tic->t_tid              = prandom_u32();
+       tic->t_tid              = get_random_u32();
        if (permanent)
                tic->t_flags |= XLOG_TIC_PERM_RESERV;