diff options
author | Josef Bacik <[email protected]> | 2024-05-07 14:12:10 -0400 |
---|---|---|
committer | David Sterba <[email protected]> | 2024-07-11 15:33:24 +0200 |
commit | a580fb2c3479d993556e1c31b237c9e5be4944a3 (patch) | |
tree | 7988d38619d753a28dc3be1932114da8848ee859 | |
parent | acb9b4766cb2da41274189261810627149166d61 (diff) |
btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc()
We handle errors here properly, ENOMEM isn't fatal, return the error.
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
-rw-r--r-- | fs/btrfs/extent-tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 92549499b353..915ae708ebc7 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -5397,7 +5397,6 @@ static noinline int walk_down_proc(struct btrfs_trans_handle *trans, &wc->refs[level], &wc->flags[level], NULL); - BUG_ON(ret == -ENOMEM); if (ret) return ret; BUG_ON(wc->refs[level] == 0); |