aboutsummaryrefslogtreecommitdiffstats
path: root/fs/squashfs/decompressor.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/squashfs/decompressor.c')
-rw-r--r--fs/squashfs/decompressor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/decompressor.c b/fs/squashfs/decompressor.c
index e9034bf6e5ae..d2bc13636f79 100644
--- a/fs/squashfs/decompressor.c
+++ b/fs/squashfs/decompressor.c
@@ -102,7 +102,7 @@ static void *get_comp_opts(struct super_block *sb, unsigned short flags)
102 * Read decompressor specific options from file system if present 102 * Read decompressor specific options from file system if present
103 */ 103 */
104 if (SQUASHFS_COMP_OPTS(flags)) { 104 if (SQUASHFS_COMP_OPTS(flags)) {
105 buffer = kmalloc(PAGE_CACHE_SIZE, GFP_KERNEL); 105 buffer = kmalloc(PAGE_SIZE, GFP_KERNEL);
106 if (buffer == NULL) { 106 if (buffer == NULL) {
107 comp_opts = ERR_PTR(-ENOMEM); 107 comp_opts = ERR_PTR(-ENOMEM);
108 goto out; 108 goto out;