btrfs: remove non-standard extent handling in __extent_writepage_io
authorChristoph Hellwig <hch@lst.de>
Wed, 31 May 2023 06:04:59 +0000 (08:04 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:35 +0000 (13:59 +0200)
commitf22b5dcbd71edea087946511554956591557de9a
treecfbc9419aacc754c531d748c773b976e74a8e487
parenta994310aa26fcb6bd7529714ea713b6792630f67
btrfs: remove non-standard extent handling in __extent_writepage_io

__extent_writepage_io is never called for compressed or inline extents,
or holes.  Remove the not quite working code for them and replace it with
asserts that these cases don't happen.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c