diff options
| author | Li zeming <[email protected]> | 2022-10-26 01:36:11 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-12-05 17:00:57 +0000 |
| commit | 9f0eac070d23405f18e7a84820bc3d59b1415bec (patch) | |
| tree | dbef106734cbd1bf5af32fa612fc32ea6399bc63 /fs/btrfs/tree-mod-log.c | |
| parent | btrfs: use btrfs_dev_name() helper to handle missing devices better (diff) | |
| download | kernel-9f0eac070d23405f18e7a84820bc3d59b1415bec.tar.gz kernel-9f0eac070d23405f18e7a84820bc3d59b1415bec.zip | |
btrfs: allocate btrfs_io_context without GFP_NOFAIL
The __GFP_NOFAIL flag could loop indefinitely when allocation memory in
alloc_btrfs_io_context. The callers starting from __btrfs_map_block
already handle errors so it's safe to drop the flag.
Signed-off-by: Li zeming <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-mod-log.c')
0 files changed, 0 insertions, 0 deletions
