]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: properly update space information after shrinking device.
authorYan Zheng <zheng.yan@oracle.com>
Wed, 22 Jul 2009 13:59:00 +0000 (09:59 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 22 Jul 2009 13:59:00 +0000 (09:59 -0400)
commitf528878cbf1e8289cc37c589de1c6b6c9bc3c7c4
tree7a4dca58c7a39cbe12e0931353fa66586f240075
parent1e8037f66f35dae1004696a7069c95e8cff61701
Btrfs: properly update space information after shrinking device.

Change 'goto done' to 'break' for the case of all device extents have
been freed, so that the code updates space information will be execute.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c