diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-11-08 09:18:08 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-12-17 14:51:32 +0100 |
commit | c629732d247e253e811a7ef6667a53349ae5a0ab (patch) | |
tree | 2d7f4dc0d7d0ce64bbcf9aa6e243e99cc795e984 /fs/btrfs/compression.c | |
parent | btrfs: Remove extent_page_data argument from writepage_delalloc (diff) | |
download | linux-c629732d247e253e811a7ef6667a53349ae5a0ab.tar.xz linux-c629732d247e253e811a7ef6667a53349ae5a0ab.zip |
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 e6dcd2dc9c48 ("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>
Diffstat (limited to 'fs/btrfs/compression.c')
-rw-r--r-- | fs/btrfs/compression.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index 088570c5dfb8..34d50bc5c10d 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c @@ -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; |