diff options
author | Dan Carpenter <error27@gmail.com> | 2011-03-19 13:53:31 +0100 |
---|---|---|
committer | Jens Axboe <axboe@carl> | 2011-03-19 13:53:31 +0100 |
commit | 4345caba340f051e10847924fc078ae18ed6695c (patch) | |
tree | aada9145e21b79f31129281bf7d1bb33a1710fbb /block/blk-merge.c | |
parent | cfq-iosched: Don't update group weights when on service tree (diff) | |
download | linux-4345caba340f051e10847924fc078ae18ed6695c.tar.xz linux-4345caba340f051e10847924fc078ae18ed6695c.zip |
block: NULL dereference on error path in __blkdev_get()
"disk" is always NULL when we goto out. There was a check for this
before, but it was removed in 69e02c59a7d9 "block: Don't check events
while open is in progress".
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@carl>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions