[Ocfs2-devel] [PATCH] ocfs2: Fix system inodes cache overflow.

Joel Becker Joel.Becker at oracle.com
Wed Dec 22 03:57:43 PST 2010


On Wed, Dec 22, 2010 at 05:50:30PM +0800, Tao Ma wrote:
> From: Tao Ma <boyu.mt at taobao.com>
> 
> 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 at kernel.org
> Signed-off-by: Tao Ma <boyu.mt at taobao.com>

	This patch is now in the fixes branch of ocfs2.git.

Joel

-- 

Viro's Razor:
	Any race condition, no matter how unlikely, will occur just
	often enough to bite you.

Joel Becker
Senior Development Manager
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list