From: akpm@osdl.org Date: Sun, 1 May 2005 15:58:39 +0000 (-0700) Subject: [PATCH] drop_buffers() oops fix X-Git-Tag: v2.6.12-rc4~136^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de7d5a3b6c9ff8429bf046c36b56d3192b75c3da;p=pandora-kernel.git [PATCH] drop_buffers() oops fix In rare situations, drop_buffers() can be called for a page which has buffers, but no ->mapping (it was truncated, but the buffers were left behind because ext3 was still fiddling with them). But if there was an I/O error in a buffer_head, drop_buffers() will try to get at the address_space and will oops. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed