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