From: David Chinner Date: Wed, 6 Feb 2008 02:37:40 +0000 (+1100) Subject: [XFS] Fix oops in xfs_file_readdir() X-Git-Tag: v2.6.25-rc1~282^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=450790a2c51e6d9d47ed30dbdcf486656b8e186f;p=pandora-kernel.git [XFS] Fix oops in xfs_file_readdir() When xfs_file_readdir() exactly fills a buffer, it can move it's index past the end of the buffer and dereference it even though the result of the dereference is never used. On some platforms this causes an oops. SGI-PV: 976923 SGI-Modid: xfs-linux-melb:xfs-kern:30458a Signed-off-by: David Chinner Signed-off-by: Lachlan McIlroy --- Reading git-diff-tree failed