Loading fs/f2fs/compress.c +0 −1 Original line number Diff line number Diff line Loading @@ -380,7 +380,6 @@ static int f2fs_compress_pages(struct compress_ctx *cc) } cc->cbuf->clen = cpu_to_le32(cc->clen); cc->cbuf->chksum = cpu_to_le32(0); for (i = 0; i < COMPRESS_DATA_RESERVED_SIZE; i++) cc->cbuf->reserved[i] = cpu_to_le32(0); Loading fs/f2fs/f2fs.h +1 −2 Original line number Diff line number Diff line Loading @@ -1214,10 +1214,9 @@ enum compress_algorithm_type { COMPRESS_MAX, }; #define COMPRESS_DATA_RESERVED_SIZE 4 #define COMPRESS_DATA_RESERVED_SIZE 5 struct compress_data { __le32 clen; /* compressed data size */ __le32 chksum; /* checksum of compressed data */ __le32 reserved[COMPRESS_DATA_RESERVED_SIZE]; /* reserved */ u8 cdata[]; /* compressed data */ }; Loading Loading
fs/f2fs/compress.c +0 −1 Original line number Diff line number Diff line Loading @@ -380,7 +380,6 @@ static int f2fs_compress_pages(struct compress_ctx *cc) } cc->cbuf->clen = cpu_to_le32(cc->clen); cc->cbuf->chksum = cpu_to_le32(0); for (i = 0; i < COMPRESS_DATA_RESERVED_SIZE; i++) cc->cbuf->reserved[i] = cpu_to_le32(0); Loading
fs/f2fs/f2fs.h +1 −2 Original line number Diff line number Diff line Loading @@ -1214,10 +1214,9 @@ enum compress_algorithm_type { COMPRESS_MAX, }; #define COMPRESS_DATA_RESERVED_SIZE 4 #define COMPRESS_DATA_RESERVED_SIZE 5 struct compress_data { __le32 clen; /* compressed data size */ __le32 chksum; /* checksum of compressed data */ __le32 reserved[COMPRESS_DATA_RESERVED_SIZE]; /* reserved */ u8 cdata[]; /* compressed data */ }; Loading