projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'hwlock-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc...
[platform/kernel/linux-starfive.git]
/
fs
/
ubifs
/
tnc_commit.c
diff --git
a/fs/ubifs/tnc_commit.c
b/fs/ubifs/tnc_commit.c
index
58c92c9
..
01362ad
100644
(file)
--- a/
fs/ubifs/tnc_commit.c
+++ b/
fs/ubifs/tnc_commit.c
@@
-700,7
+700,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) && !
(prandom_u32() & 7
))
+ if (dbg_is_chk_index(c) && !
prandom_u32_max(8
))
return -ENOSPC;
return 0;
}