xfs: rename random32() to prandom_u32()
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_log.c
index eec226f78a4060f053235399952db73778da8afa..b345a7c85153dda82825050a8d1234ed4c73c541 100644 (file)
@@ -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;