projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
756ccb3
)
logfs: remove useless BUG_ON
author
Joern Engel
<joern@logfs.org>
Mon, 12 Sep 2011 15:39:16 +0000
(21:09 +0530)
committer
Prasad Joshi
<prasadjoshi.linux@gmail.com>
Sat, 28 Jan 2012 06:11:56 +0000
(11:41 +0530)
It prevents write sizes >4k.
Signed-off-by: Joern Engel <joern@logfs.org>
fs/logfs/journal.c
patch
|
blob
|
history
diff --git
a/fs/logfs/journal.c
b/fs/logfs/journal.c
index
9da2970
..
1e1c369
100644
(file)
--- a/
fs/logfs/journal.c
+++ b/
fs/logfs/journal.c
@@
-612,7
+612,6
@@
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) {
memcpy(data, buf, len);