]> git.hungrycats.org Git - linux/commit
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)
committerZygo Blaxell <zblaxell@serenity.furryterror.org>
Wed, 3 Dec 2014 15:16:46 +0000 (10:16 -0500)
commit7d49bc0e8214d44109cc59fffd1aeca100840a92
tree3ee3968be6c69c94611d04ff72119cf4f39d403d
parent937d9105e680515d124c0eeb8b7f1db24acc9b09
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>
(cherry picked from commit 5d778aaeb013bf819d00e33de7c673c04b5c4886)
fs/btrfs/volumes.c