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/keylist.c | |
parent | e1d29c5fa1205c75dd96303f76d7aa4991555aaa (diff) | |
download | lwn-19c304bebda4d8815a20c8d3330459a112c329f6.tar.gz lwn-19c304bebda4d8815a20c8d3330459a112c329f6.zip |
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/keylist.c')
-rw-r--r-- | fs/bcachefs/keylist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/keylist.c b/fs/bcachefs/keylist.c index cf5998e519e7..5699cd4873c8 100644 --- a/fs/bcachefs/keylist.c +++ b/fs/bcachefs/keylist.c @@ -18,7 +18,7 @@ int bch2_keylist_realloc(struct keylist *l, u64 *inline_u64s, (old_buf && roundup_pow_of_two(oldsize) == newsize)) return 0; - new_keys = krealloc(old_buf, sizeof(u64) * newsize, GFP_NOIO); + new_keys = krealloc(old_buf, sizeof(u64) * newsize, GFP_NOFS); if (!new_keys) return -ENOMEM; |