bcachefs: fs-io: Eliminate GFP_NOFS usage
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 28 May 2023 04:59:26 +0000 (00:59 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:03 +0000 (17:10 -0400)
commit5718fda0b5ef777ef56edbe53ef6a830b845c0fa
tree8b2d6c544f86691abbc5457cb46ed3e56a0caa52
parent78367aaa5af322b64d44a3a3354f4c75c499fef0
bcachefs: fs-io: Eliminate GFP_NOFS usage

GFP_NOFS doesn't ever make sense. If we're allocatingc memory it should
be GFP_NOWAIT if btree locks are held, GFP_KERNEL otherwise.

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