commit | 9689457b5b0a2b69874c421a489d3fb50ca76b7b | [log] [tgz] |
---|---|---|
author | Shilong Wang <wangshilong1991@gmail.com> | Sun Apr 12 14:35:20 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Jul 01 17:17:22 2015 -0700 |
tree | 754a94f1914b827ee205ca314871976321598cf4 | |
parent | ddba1bfc2369cd0566bcfdab47599834a32d1c19 [diff] |
Btrfs: fix wrong check for btrfs_force_chunk_alloc() btrfs_force_chunk_alloc() return 1 for allocation chunk successfully. This problem exists since commit c87f08ca4. With this patch, we might fix some enospc problems for balances. Signed-off-by: Wang Shilong <wangshilong1991@gmail.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Tested-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Chris Mason <clm@fb.com>