From: Joern Engel Date: Tue, 13 Apr 2010 15:46:37 +0000 (+0200) Subject: [LogFS] Prevent memory corruption on large deletes X-Git-Tag: v2.6.34-rc6~76^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=032d8f7268444a0f5d4ee02d9513d682d5b8edfc;p=pandora-kernel.git [LogFS] Prevent memory corruption on large deletes Removing sufficiently large files would create aliases for a large number of segments. This in turn results in a large number of journal entries and an overflow of s_je_array. Cheap fix is to add a BUG_ON, turning memory corruption into something annoying, but less dangerous. Real fix is to count the number of affected segments and prevent the problem completely. Signed-off-by: Joern Engel --- Reading git-diff-tree failed