Commit ef53cb02 authored by David Woodhouse's avatar David Woodhouse

[JFFS2] Whitespace cleanups.

Convert many spaces to tabs; one or two other minor cosmetic fixes.
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 16adce7b
...@@ -86,7 +86,8 @@ uint16_t jffs2_compress(struct jffs2_sb_info *c, struct jffs2_inode_info *f, ...@@ -86,7 +86,8 @@ uint16_t jffs2_compress(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
} }
} }
spin_unlock(&jffs2_compressor_list_lock); spin_unlock(&jffs2_compressor_list_lock);
if (ret == JFFS2_COMPR_NONE) kfree(output_buf); if (ret == JFFS2_COMPR_NONE)
kfree(output_buf);
break; break;
case JFFS2_COMPR_MODE_SIZE: case JFFS2_COMPR_MODE_SIZE:
orig_slen = *datalen; orig_slen = *datalen;
......
...@@ -48,7 +48,7 @@ struct jffs2_compressor { ...@@ -48,7 +48,7 @@ struct jffs2_compressor {
int (*decompress)(unsigned char *cdata_in, unsigned char *data_out, int (*decompress)(unsigned char *cdata_in, unsigned char *data_out,
uint32_t cdatalen, uint32_t datalen, void *model); uint32_t cdatalen, uint32_t datalen, void *model);
int usecount; int usecount;
int disabled; /* if seted the compressor won't compress */ int disabled; /* if set the compressor won't compress */
unsigned char *compr_buf; /* used by size compr. mode */ unsigned char *compr_buf; /* used by size compr. mode */
uint32_t compr_buf_size; /* used by size compr. mode */ uint32_t compr_buf_size; /* used by size compr. mode */
uint32_t stat_compr_orig_size; uint32_t stat_compr_orig_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment