summaryrefslogtreecommitdiff
path: root/fs/squashfs/decompressor.h
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@lougher.demon.co.uk>2010-12-09 02:08:31 +0000
committerPhillip Lougher <phillip@lougher.demon.co.uk>2011-01-13 21:16:52 +0000
commit7a43ae523744c01b6187013e781f44c2281c579c (patch)
tree7f122fb883ef7cd86f08f90b770e03cae601efd3 /fs/squashfs/decompressor.h
parent81bb8debd0d570dc67dc1e9d8b612632cb941893 (diff)
Squashfs: Add XZ compression configuration option
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs/squashfs/decompressor.h')
-rw-r--r--fs/squashfs/decompressor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/squashfs/decompressor.h b/fs/squashfs/decompressor.h
index 7425f80783f6..57e1acb4c6a9 100644
--- a/fs/squashfs/decompressor.h
+++ b/fs/squashfs/decompressor.h
@@ -52,4 +52,9 @@ static inline int squashfs_decompress(struct squashfs_sb_info *msblk,
return msblk->decompressor->decompress(msblk, buffer, bh, b, offset,
length, srclength, pages);
}
+
+#ifdef CONFIG_SQUASHFS_XZ
+extern const struct squashfs_decompressor squashfs_xz_comp_ops;
+#endif
+
#endif