[PATCH 4.4 20/34] btrfs: return value from btrfs_mark_extent_written() in case of error