bcachefs: add missing __GFP_NOWARN
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
d7e77f53e9
commit
7be0208fc9
@ -415,7 +415,7 @@ static int btree_key_can_insert_cached(struct btree_trans *trans, unsigned flags
|
||||
return 0;
|
||||
|
||||
new_u64s = roundup_pow_of_two(u64s);
|
||||
new_k = krealloc(ck->k, new_u64s * sizeof(u64), GFP_NOWAIT);
|
||||
new_k = krealloc(ck->k, new_u64s * sizeof(u64), GFP_NOWAIT|__GFP_NOWARN);
|
||||
if (unlikely(!new_k))
|
||||
return btree_key_can_insert_cached_slowpath(trans, flags, path, new_u64s);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user