Btrfs: set device->total_disk_bytes when adding new device
authorYan Zheng <zheng.yan@oracle.com>
Thu, 4 Jun 2009 13:23:50 +0000 (09:23 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 4 Jun 2009 13:23:57 +0000 (09:23 -0400)
It was not being properly initialized, and so the size saved to
disk was not correct.

Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found