Skip to content

Commit 7be0208

Browse files
author
Kent Overstreet
committed
bcachefs: add missing __GFP_NOWARN
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent d7e77f5 commit 7be0208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/btree_trans_commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ static int btree_key_can_insert_cached(struct btree_trans *trans, unsigned flags
415415
return 0;
416416

417417
new_u64s = roundup_pow_of_two(u64s);
418-
new_k = krealloc(ck->k, new_u64s * sizeof(u64), GFP_NOWAIT);
418+
new_k = krealloc(ck->k, new_u64s * sizeof(u64), GFP_NOWAIT|__GFP_NOWARN);
419419
if (unlikely(!new_k))
420420
return btree_key_can_insert_cached_slowpath(trans, flags, path, new_u64s);
421421

0 commit comments

Comments
 (0)