Btrfs: don't ignore log btree writeback errors
authorFilipe Manana <fdmanana@suse.com>
Thu, 13 Nov 2014 16:59:53 +0000 (16:59 +0000)
committerChris Mason <clm@fb.com>
Fri, 21 Nov 2014 19:59:55 +0000 (11:59 -0800)
If an error happens during writeback of log btree extents, make sure the
error is returned to the caller (fsync), so that it takes proper action
(commit current transaction) instead of writing a superblock that points
to log btrees with all or some nodes that weren't durably persisted.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>

No differences found