diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-05-28 18:02:38 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:03 -0400 |
commit | 19c304bebda4d8815a20c8d3330459a112c329f6 (patch) | |
tree | e538d74c93551d659429fb64868f9c16ea742c43 /fs/bcachefs/ec.c | |
parent | e1d29c5fa1205c75dd96303f76d7aa4991555aaa (diff) |
bcachefs: GFP_NOIO -> GFP_NOFS
GFP_NOIO dates from the bcache days, when we operated under the block
layer. Now, GFP_NOFS is more appropriate, so switch all GFP_NOIO uses to
GFP_NOFS.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.c')
-rw-r--r-- | fs/bcachefs/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index 439fa540323f..1c35fa1fedd3 100644 --- a/fs/bcachefs/ec.c +++ b/fs/bcachefs/ec.c @@ -485,7 +485,7 @@ int bch2_ec_read_extent(struct bch_fs *c, struct bch_read_bio *rbio) BUG_ON(!rbio->pick.has_ec); - buf = kzalloc(sizeof(*buf), GFP_NOIO); + buf = kzalloc(sizeof(*buf), GFP_NOFS); if (!buf) return -BCH_ERR_ENOMEM_ec_read_extent; |