diff options
author | Glauber de Oliveira Costa <glommer@br.ibm.com> | 2005-10-31 00:03:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-31 02:37:26 +0100 |
commit | 2973dfdb877c17b36c27ba66d71028ff1eb2f32e (patch) | |
tree | 9734599068f3fcf7cd33f948235588f7a275d193 /drivers/video | |
parent | [PATCH] fix nr_unused accounting, and avoid recursing in iput with I_WILL_FRE... (diff) | |
download | linux-2973dfdb877c17b36c27ba66d71028ff1eb2f32e.tar.xz linux-2973dfdb877c17b36c27ba66d71028ff1eb2f32e.zip |
[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 <glommer@br.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions