summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/zlib.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-12-02 15:54:17 +0100
committerChris Mason <chris.mason@oracle.com>2008-12-02 15:54:17 +0100
commitb2950863c61bc24cf0f63bc05947d9d50663c4c0 (patch)
tree3005a034713fe86db2d64ab1b21fe8762f6a4b0c /fs/btrfs/zlib.c
parentBtrfs: remove unneeded btrfs_start_delalloc_inodes call (diff)
downloadlinux-b2950863c61bc24cf0f63bc05947d9d50663c4c0.tar.xz
linux-b2950863c61bc24cf0f63bc05947d9d50663c4c0.zip
Btrfs: make things static and include the right headers
Shut up various sparse warnings about symbols that should be either static or have their declarations in scope. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/btrfs/zlib.c')
-rw-r--r--fs/btrfs/zlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/zlib.c b/fs/btrfs/zlib.c
index 5b9f7002513c..c4617cde6c73 100644
--- a/fs/btrfs/zlib.c
+++ b/fs/btrfs/zlib.c
@@ -30,6 +30,7 @@
#include <linux/sched.h>
#include <linux/pagemap.h>
#include <linux/bio.h>
+#include "compression.h"
/* Plan: call deflate() with avail_in == *sourcelen,
avail_out = *dstlen - 12 and flush == Z_FINISH.