Skip to content
Commit 9689457b authored by Shilong Wang's avatar Shilong Wang Committed by Chris Mason
Browse files

Btrfs: fix wrong check for btrfs_force_chunk_alloc()



btrfs_force_chunk_alloc() return 1 for allocation chunk successfully.
This problem exists since commit c87f08ca.

With this patch, we might fix some enospc problems for balances.

Signed-off-by: default avatarWang Shilong <wangshilong1991@gmail.com>
Reviewed-by: default avatarFilipe Manana <fdmanana@suse.com>
Tested-by: default avatarFilipe Manana <fdmanana@suse.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent ddba1bfc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment