btrfs: export compression buffer limits in a header
authorDavid Sterba <dsterba@suse.com>
Tue, 14 Feb 2017 18:30:39 +0000 (19:30 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 28 Feb 2017 13:26:35 +0000 (14:26 +0100)
commitff7638665c9a82894cabd18d26a9f8957f280f55
treee7edeb798742e45df9e2966b2fb8c30e31a607a2
parent4d3a800ebb1299944408f3b40b5b6b996477fba2
btrfs: export compression buffer limits in a header

Move the buffer limit definitions out of compress_file_range.

Reviewed-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.h
fs/btrfs/inode.c