projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UBIFS: rename random32() to prandom_u32()
[deliverable/linux.git]
/
fs
/
ubifs
/
tnc_commit.c
diff --git
a/fs/ubifs/tnc_commit.c
b/fs/ubifs/tnc_commit.c
index 523bbad69c0c0e7a491581f94c89dfc823e6f404..52a6559275c43eb350d818d10797879ec0c1b9f4 100644
(file)
--- a/
fs/ubifs/tnc_commit.c
+++ b/
fs/ubifs/tnc_commit.c
@@
-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) && !(
random
32() & 7))
+ if (dbg_is_chk_index(c) && !(
prandom_u
32() & 7))
return -ENOSPC;
return 0;
}
This page took
0.025388 seconds
and
5
git commands to generate.