summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/zlib.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-12-02 09:54:17 -0500
committerChris Mason <chris.mason@oracle.com>2008-12-02 09:54:17 -0500
commitb2950863c61bc24cf0f63bc05947d9d50663c4c0 (patch)
tree3005a034713fe86db2d64ab1b21fe8762f6a4b0c /fs/btrfs/zlib.c
parent1ffa4f426c002161b7dbd58b297f5d0680e7dd6a (diff)
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 5b9f7002513..c4617cde6c7 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.