bcachefs: Fix another lockdep splat
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 16 Oct 2020 01:48:58 +0000 (21:48 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:44 +0000 (17:08 -0400)
commit97c0e19502549c0501581f9efff45022a10be2aa
tree6f56b10433fb3f7f40a6d13050ad0b735bbe1418
parent505b7a4c2844d8ee0004ab905874513776bc14da
bcachefs: Fix another lockdep splat

vfree() can allocate memory, so we need to call memalloc_nofs_save().

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