UBIFS: rename random32() to prandom_u32()
[deliverable/linux.git] / fs / ubifs / tnc_commit.c
index 523bbad69c0c0e7a491581f94c89dfc823e6f404..52a6559275c43eb350d818d10797879ec0c1b9f4 100644 (file)
@@ -683,7 +683,7 @@ static int alloc_idx_lebs(struct ubifs_info *c, int cnt)
                c->ilebs[c->ileb_cnt++] = lnum;
                dbg_cmt("LEB %d", lnum);
        }
-       if (dbg_is_chk_index(c) && !(random32() & 7))
+       if (dbg_is_chk_index(c) && !(prandom_u32() & 7))
                return -ENOSPC;
        return 0;
 }
This page took 0.025388 seconds and 5 git commands to generate.