bcachefs: Use kvzalloc() when dynamically allocating btree paths
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 12 Feb 2024 20:17:14 +0000 (15:17 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:24 +0000 (21:22 -0400)
commit5ca8ff157d9712b45d249b97b28e35b0d5eead8e
tree3440679827a2f495abde3e731731eca52eec8c3b
parent83bd5985fa5437a21f6cf9974e3d023e98af490b
bcachefs: Use kvzalloc() when dynamically allocating btree paths

THis silences a mm/page_alloc.c warning about allocating more than a
page with GFP_NOFAIL - and there's no reason for this to not have a
vmalloc fallback anyways.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_iter.c