]> git.baikalelectronics.ru Git - kernel.git/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)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:35 +0000 (13:38 -0700)
commit1b20e8f4cac4b100b2d01571ecd2481b3fcbc4c5
treefbc593e27b5e4aa7dbc9300bff26e247f6e321be
parent575514257db1f0a9b2fb952fd13346d8ec98f0bb
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