diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /fs/squashfs/lzo_wrapper.c | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'fs/squashfs/lzo_wrapper.c')
-rw-r--r-- | fs/squashfs/lzo_wrapper.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/squashfs/lzo_wrapper.c b/fs/squashfs/lzo_wrapper.c index 5d87789bf1c1..00f4dfc5f088 100644 --- a/fs/squashfs/lzo_wrapper.c +++ b/fs/squashfs/lzo_wrapper.c | |||
@@ -29,7 +29,6 @@ | |||
29 | 29 | ||
30 | #include "squashfs_fs.h" | 30 | #include "squashfs_fs.h" |
31 | #include "squashfs_fs_sb.h" | 31 | #include "squashfs_fs_sb.h" |
32 | #include "squashfs_fs_i.h" | ||
33 | #include "squashfs.h" | 32 | #include "squashfs.h" |
34 | #include "decompressor.h" | 33 | #include "decompressor.h" |
35 | 34 | ||
@@ -38,7 +37,7 @@ struct squashfs_lzo { | |||
38 | void *output; | 37 | void *output; |
39 | }; | 38 | }; |
40 | 39 | ||
41 | static void *lzo_init(struct squashfs_sb_info *msblk) | 40 | static void *lzo_init(struct squashfs_sb_info *msblk, void *buff, int len) |
42 | { | 41 | { |
43 | int block_size = max_t(int, msblk->block_size, SQUASHFS_METADATA_SIZE); | 42 | int block_size = max_t(int, msblk->block_size, SQUASHFS_METADATA_SIZE); |
44 | 43 | ||
@@ -59,7 +58,7 @@ failed2: | |||
59 | failed: | 58 | failed: |
60 | ERROR("Failed to allocate lzo workspace\n"); | 59 | ERROR("Failed to allocate lzo workspace\n"); |
61 | kfree(stream); | 60 | kfree(stream); |
62 | return NULL; | 61 | return ERR_PTR(-ENOMEM); |
63 | } | 62 | } |
64 | 63 | ||
65 | 64 | ||