Skip to content
Commit 2cc3c559 authored by Yan Zheng's avatar Yan Zheng Committed by Chris Mason
Browse files

Btrfs: set device->total_disk_bytes when adding new device



It was not being properly initialized, and so the size saved to
disk was not correct.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 9f55684c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment