Btrfs: Fix wrong free_chunk_space assignment during removing a device
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 3 Sep 2014 13:35:35 +0000 (21:35 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:35 +0000 (13:38 -0700)
commit5d778aaeb013bf819d00e33de7c673c04b5c4886
treefbc593e27b5e4aa7dbc9300bff26e247f6e321be
parentce7213c70c37e3a66bc0b50c45edcbfea505f62f
Btrfs: Fix wrong free_chunk_space assignment during removing a device

During removing a device, we have modified free_chunk_space when we
shrink the device, so we needn't assign a new value to it after
the device shrink. Fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.c