commit | 6c69494f6b442834f26377e02d43fc8e1272221d | [log] [tgz] |
---|---|---|
author | Joern Engel <joern@logfs.org> | Mon Sep 12 21:09:16 2011 +0530 |
committer | Prasad Joshi <prasadjoshi.linux@gmail.com> | Sat Jan 28 11:41:56 2012 +0530 |
tree | 0f1f9973363d19fb5015ca25eb1c06a62fee22d6 | |
parent | 756ccb3c351e425ad5544ff1a92cfe6bec83b904 [diff] |
logfs: remove useless BUG_ON It prevents write sizes >4k. Signed-off-by: Joern Engel <joern@logfs.org>
diff --git a/fs/logfs/journal.c b/fs/logfs/journal.c index 9da2970..1e1c369 100644 --- a/fs/logfs/journal.c +++ b/fs/logfs/journal.c
@@ -612,7 +612,6 @@ 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) { memcpy(data, buf, len);