Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190088
b: refs/heads/master
c: ead88af
h: refs/heads/master
v: v3
  • Loading branch information
Joern Engel committed Apr 13, 2010
1 parent ba8e433 commit 2eb37d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: d3a03f8031000f8297823b80e36db536fd020884
refs/heads/master: ead88af5f577fd2b399a0fcdfe52605116fac489
2 changes: 1 addition & 1 deletion trunk/fs/logfs/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,9 +612,9 @@ static size_t __logfs_write_je(struct super_block *sb, void *buf, u16 type,
if (len == 0)
return logfs_write_header(super, header, 0, type);

BUG_ON(len > sb->s_blocksize);
compr_len = logfs_compress(buf, data, len, sb->s_blocksize);
if (compr_len < 0 || type == JE_ANCHOR) {
BUG_ON(len > sb->s_blocksize);
memcpy(data, buf, len);
compr_len = len;
compr = COMPR_NONE;
Expand Down

0 comments on commit 2eb37d7

Please sign in to comment.