summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2020-05-12 07:37:51 +0200
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:37 +0200
commitadbab6420c973f37079b1ce9b7e8a12f54810250 (patch)
tree17292cd94d5b16f6c0d6141f891ad69e528caf0e /fs/btrfs/compression.h
parentbtrfs: simplify iget helpers (diff)
downloadlinux-adbab6420c973f37079b1ce9b7e8a12f54810250.tar.xz
linux-adbab6420c973f37079b1ce9b7e8a12f54810250.zip
btrfs: unexport btrfs_compress_set_level()
btrfs_compress_set_level() can be static function in the file compression.c. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.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, 0 insertions, 2 deletions
diff --git a/fs/btrfs/compression.h b/fs/btrfs/compression.h
index d253f7aa8ed5..284a3ad31350 100644
--- a/fs/btrfs/compression.h
+++ b/fs/btrfs/compression.h
@@ -140,8 +140,6 @@ extern const struct btrfs_compress_op btrfs_zstd_compress;
const char* btrfs_compress_type2str(enum btrfs_compression_type type);
bool btrfs_compress_is_valid_type(const char *str, size_t len);
-unsigned int btrfs_compress_set_level(int type, unsigned level);
-
int btrfs_compress_heuristic(struct inode *inode, u64 start, u64 end);
#endif