diff options
author | Pavel Emelianov <xemul@openvz.org> | 2006-10-28 19:38:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-28 20:30:52 +0200 |
commit | 6a2aae06cc1e87e9712a26a639f6a2f3442e2027 (patch) | |
tree | 6c9e0f73d39646670c301e19ccd8b33d3aa3a293 /include | |
parent | [PATCH] memory hotplug: __GFP_NOWARN is better for __kmalloc_section_memmap() (diff) | |
download | linux-6a2aae06cc1e87e9712a26a639f6a2f3442e2027.tar.xz linux-6a2aae06cc1e87e9712a26a639f6a2f3442e2027.zip |
[PATCH] Fix potential OOPs in blkdev_open()
blkdev_open() calls bc_acquire() to get a struct block_device. Since
bc_acquire() may return NULL when system is out of memory an appropriate
check is required.
Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions