bcachefs: allocate sb_read_scratch with __get_free_page
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 6 Apr 2019 18:32:06 +0000 (14:32 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:20 +0000 (17:08 -0400)
commitd1170ce53c5b332caf647f658c6f2a483c3608a7
tree5632ff5356378744bdd71117dc0c7718d320d88a
parent478259b749d442baaccbe18b02a7352ca1e012ae
bcachefs: allocate sb_read_scratch with __get_free_page

kmalloc allocations aren't guranteed alignment for io

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