aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorPavel Emelianov <[email protected]>2006-10-28 10:38:33 -0700
committerLinus Torvalds <[email protected]>2006-10-28 11:30:52 -0700
commit6a2aae06cc1e87e9712a26a639f6a2f3442e2027 (patch)
tree6c9e0f73d39646670c301e19ccd8b33d3aa3a293 /include/linux/debugobjects.h
parentf2d0aa5bf8d4f7ae4cb1a7feebf5b1afddd0b9b0 (diff)
[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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions