From: Tao Ma Date: Wed, 22 Dec 2010 09:50:30 +0000 (+0800) Subject: ocfs2: Fix system inodes cache overflow. X-Git-Tag: v2.6.37-rc8~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d8f98769e7f4bc29c38789daeb416c6a7d7c241;p=pandora-kernel.git ocfs2: Fix system inodes cache overflow. When we store system inodes cache in ocfs2_super, we use a array for global system inodes. But unfortunately, the range is calculated wrongly which makes it overflow and pollute ocfs2_super->local_system_inodes. This patch fix it by setting the range properly. The corresponding bug is ossbug1303. http://oss.oracle.com/bugzilla/show_bug.cgi?id=1303 Cc: stable@kernel.org Signed-off-by: Tao Ma Signed-off-by: Joel Becker --- Reading git-diff-tree failed