From: Glauber de Oliveira Costa Date: Sun, 30 Oct 2005 23:03:05 +0000 (-0800) Subject: [PATCH] Test for sb_getblk return value X-Git-Tag: v2.6.15-rc1~59^2~15^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2973dfdb877c17b36c27ba66d71028ff1eb2f32e;p=pandora-kernel.git [PATCH] Test for sb_getblk return value This patch adds tests for the return value of sb_getblk() in the ext2/3 filesystems. In fs/buffer.c it is stated that the getblk() function never fails. However, it does can return NULL in some situations due to I/O errors, which may lead us to NULL pointer dereferences Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed