Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231538
b: refs/heads/master
c: 01a678c
h: refs/heads/master
v: v3
  • Loading branch information
Phillip Lougher committed Jan 13, 2011
1 parent 4308218 commit 8e3875a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8fcd97216f45b1691f8f91f35cc108d06e0bfca8
refs/heads/master: 01a678c5a2f41663b8faf03d17e2bbdbf44158a9
8 changes: 2 additions & 6 deletions trunk/fs/squashfs/decompressor.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static const struct squashfs_decompressor squashfs_lzma_unsupported_comp_ops = {
};

#ifndef CONFIG_SQUASHFS_LZO
static const struct squashfs_decompressor squashfs_lzo_unsupported_comp_ops = {
static const struct squashfs_decompressor squashfs_lzo_comp_ops = {
NULL, NULL, NULL, LZO_COMPRESSION, "lzo", 0
};
#endif
Expand All @@ -57,13 +57,9 @@ static const struct squashfs_decompressor squashfs_unknown_comp_ops = {

static const struct squashfs_decompressor *decompressor[] = {
&squashfs_zlib_comp_ops,
&squashfs_lzma_unsupported_comp_ops,
#ifdef CONFIG_SQUASHFS_LZO
&squashfs_lzo_comp_ops,
#else
&squashfs_lzo_unsupported_comp_ops,
#endif
&squashfs_xz_comp_ops,
&squashfs_lzma_unsupported_comp_ops,
&squashfs_unknown_comp_ops
};

Expand Down
4 changes: 4 additions & 0 deletions trunk/fs/squashfs/decompressor.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,8 @@ static inline int squashfs_decompress(struct squashfs_sb_info *msblk,
extern const struct squashfs_decompressor squashfs_xz_comp_ops;
#endif

#ifdef CONFIG_SQUASHFS_LZO
extern const struct squashfs_decompressor squashfs_lzo_comp_ops;
#endif

#endif
3 changes: 0 additions & 3 deletions trunk/fs/squashfs/squashfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,3 @@ extern const struct xattr_handler *squashfs_xattr_handlers[];

/* zlib_wrapper.c */
extern const struct squashfs_decompressor squashfs_zlib_comp_ops;

/* lzo_wrapper.c */
extern const struct squashfs_decompressor squashfs_lzo_comp_ops;

0 comments on commit 8e3875a

Please sign in to comment.