From: Joern Engel Date: Sun, 20 Nov 2011 16:59:01 +0000 (+0530) Subject: logfs: Prevent memory corruption X-Git-Tag: v3.3-rc2~1^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=934eed395d201bf0901ca0c0cc3703b18729d0ce;p=pandora-kernel.git logfs: Prevent memory corruption This is a bad one. I wonder whether we were so far protected by no_free_segments(sb) usually being smaller than LOGFS_NO_AREAS. Found by Dan Carpenter using smatch. Signed-off-by: Joern Engel Signed-off-by: Prasad Joshi --- Reading git-diff-tree failed