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
Bluetooth: fix invalid-bdaddr quirk for non-persistent setup
[platform/kernel/linux-starfive.git]
/
net
/
sunrpc
/
cache.c
diff --git
a/net/sunrpc/cache.c
b/net/sunrpc/cache.c
index
c3c693b
..
f075a9f
100644
(file)
--- a/
net/sunrpc/cache.c
+++ b/
net/sunrpc/cache.c
@@
-677,7
+677,7
@@
static void cache_limit_defers(void)
/* Consider removing either the first or the last */
if (cache_defer_cnt > DFR_MAX) {
- if (prandom_u32
() & 1
)
+ if (prandom_u32
_max(2)
)
discard = list_entry(cache_defer_list.next,
struct cache_deferred_req, recent);
else