From: Theodore Ts'o Date: Thu, 1 Oct 2009 02:57:41 +0000 (-0400) Subject: ext4: fix a BUG_ON crash by checking that page has buffers attached to it X-Git-Tag: v2.6.32-rc3~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f94533d9cd75f6d2826018d54a971b9cc085992;p=pandora-kernel.git ext4: fix a BUG_ON crash by checking that page has buffers attached to it In ext4_num_dirty_pages() we were calling page_buffers() before checking to see if the page actually had pages attached to it; this would cause a BUG check crash in the inline function page_buffers(). Thanks to Markus Trippelsdorf for reporting this bug. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed