-
由 Nick Piggin 提交于
jffs2_write_end() is sometimes passing back a "written" length greater than the length we passed into it, leading to a BUG at mm/filemap.c:1749 when used with unionfs. It happens because we actually write more than was requested, to reduce log fragmentation. These "longer" writes are fine, but they shouldn't get propagated back to the vm/vfs. Signed-off-by: NNick Piggin <npiggin@suse.de> Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
2a754b51