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)
commitbf1fb512a58d7aeb41aaa40d6d2d2d29e08e506a
tree7a4dca58c7a39cbe12e0931353fa66586f240075
parent1bec1aed1e7e632b3cc43b6807c2b4dcd1572e28
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