summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2024-10-09 16:31:25 +0200
committerDavid Sterba <dsterba@suse.com>2024-11-11 14:34:16 +0100
commit3f4b1bc1c0b594bb6b059e6e2be0f3a7c2bca1d0 (patch)
treec8b05558539e2e767f4831bf5fd7c462f3e0310b /fs/btrfs/compression.h
parentbtrfs: drop unused transaction parameter from btrfs_qgroup_add_swapped_blocks() (diff)
downloadlinux-3f4b1bc1c0b594bb6b059e6e2be0f3a7c2bca1d0.tar.xz
linux-3f4b1bc1c0b594bb6b059e6e2be0f3a7c2bca1d0.zip
btrfs: lzo: drop unused paramter level from lzo_alloc_workspace()
The LZO compression has only one level, we don't need to pass the parameter. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.h')
-rw-r--r--fs/btrfs/compression.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/compression.h b/fs/btrfs/compression.h
index b6563b6a333e..954034086d0d 100644
--- a/fs/btrfs/compression.h
+++ b/fs/btrfs/compression.h
@@ -175,7 +175,7 @@ int lzo_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
int lzo_decompress(struct list_head *ws, const u8 *data_in,
struct folio *dest_folio, unsigned long dest_pgoff, size_t srclen,
size_t destlen);
-struct list_head *lzo_alloc_workspace(unsigned int level);
+struct list_head *lzo_alloc_workspace(void);
void lzo_free_workspace(struct list_head *ws);
int zstd_compress_folios(struct list_head *ws, struct address_space *mapping,