btrfs: Remove unused extent_state argument from btrfs_writepage_endio_finish_ordered
This parameter was never used, yet was part of the interface of the
function ever since its introduction as extent_io_ops::writepage_end_io_hook
in e6dcd2dc9c
("Btrfs: New data=ordered implementation"). Now that
NULL is passed everywhere as a value for this parameter let's remove it
for good. No functional changes.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:

committed by
David Sterba

parent
8cc0237abc
commit
c629732d24
@@ -249,7 +249,7 @@ static void end_compressed_bio_write(struct bio *bio)
|
||||
inode = cb->inode;
|
||||
cb->compressed_pages[0]->mapping = cb->inode->i_mapping;
|
||||
btrfs_writepage_endio_finish_ordered(cb->compressed_pages[0],
|
||||
cb->start, cb->start + cb->len - 1, NULL,
|
||||
cb->start, cb->start + cb->len - 1,
|
||||
bio->bi_status ? BLK_STS_OK : BLK_STS_NOTSUPP);
|
||||
cb->compressed_pages[0]->mapping = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user