Chris Ball d6397baee4 Btrfs: When shrinking, only update disk size on success
Previously, we updated a device's size prior to attempting a shrink
operation.  This patch moves the device resizing logic to only happen if
the shrink completes successfully.  In the process, it introduces a new
field to btrfs_device -- disk_total_bytes -- to track the on-disk size.

Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2009-04-27 07:40:51 -04:00
..
2009-03-31 23:00:26 -04:00
2009-04-24 15:46:04 -04:00
2009-04-24 15:46:04 -04:00
2009-04-02 16:46:06 -04:00
2009-04-24 15:46:03 -04:00