summaryrefslogtreecommitdiff
path: root/mkfs.c
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@gmail.com>2013-07-03 18:30:41 +0100
committerDavid Sterba <dsterba@suse.cz>2013-08-09 14:32:33 +0200
commit80bab0f18c8a9ed76a392ae5bfafc8b038bb41b9 (patch)
tree9e835aed29620c656cb7142fe191b2220c5f0095 /mkfs.c
parent705e76ee8ddb2fd3d8127464b0c482b9fe43ef3e (diff)
Btrfs-progs: add missing write check for mkfs
Assert that the writes of the device and chunk tree roots succeed. This verification is currently done for all other tree roots, however it was missing for those 2 trees. Would these tree root writes fail, but all others succeed, it would lead to a corrupted/incomplete btrfs filesystem, or, more likely some weird failure later on in mkfs.btrfs inside open_ctree(). Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'mkfs.c')
0 files changed, 0 insertions, 0 deletions