From: Evgeniy Date: Fri, 13 Jan 2006 15:12:15 +0000 (+0300) Subject: [PATCH] Fix oops in ufs_fill_super at mount time X-Git-Tag: v2.6.16-rc1~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a430d74fea797fc55fef1ad4c21420212b83574;p=pandora-kernel.git [PATCH] Fix oops in ufs_fill_super at mount time There's a lack of parenthesis in fs/ufs/utils.h, so instead of the 512th byte of buffer, the usb2 pointer will point to the nth structure of type ufs_super_block_second. This can cause a mount-time oops if you're unlucky (especially with DEBUG_PAGEALLOC, which is how Alexey Dobriyan saw this problem) Signed-off-by: Evgeniy Dushistov Acked-by: Alexey Dobriyan Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed