From: Mark Fasheh Date: Fri, 21 Nov 2008 22:06:55 +0000 (-0800) Subject: ocfs2: fix regression in ocfs2_read_blocks_sync() X-Git-Tag: v2.6.28-rc7~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b58f89f7257c8099c2260e2bea042a917d6cdf;p=pandora-kernel.git ocfs2: fix regression in ocfs2_read_blocks_sync() We're panicing in ocfs2_read_blocks_sync() if a jbd-managed buffer is seen. At first glance, this seems ok but in reality it can happen. My test case was to just run 'exorcist'. A struct inode is being pushed out of memory but is then re-read at a later time, before the buffer has been checkpointed by jbd. This causes a BUG to be hit in ocfs2_read_blocks_sync(). Reviewed-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed