From: Pavel Emelianov Date: Sat, 28 Oct 2006 17:38:33 +0000 (-0700) Subject: [PATCH] Fix potential OOPs in blkdev_open() X-Git-Tag: v2.6.19-rc4~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a2aae06cc1e87e9712a26a639f6a2f3442e2027;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed