diff options
| author | Oleg Nesterov <[email protected]> | 2007-10-23 13:08:21 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2007-10-29 10:33:05 +0000 |
| commit | 0a0836a09ca7a27341703ef154c82e2e7f3e96f4 (patch) | |
| tree | d4fb7c2a848e7160945405dd3d1bdcf9ae6efd33 /fs/proc/array.c | |
| parent | blk_sync_queue() should cancel request_queue->unplug_work (diff) | |
| download | kernel-0a0836a09ca7a27341703ef154c82e2e7f3e96f4.tar.gz kernel-0a0836a09ca7a27341703ef154c82e2e7f3e96f4.zip | |
cfq_get_queue: fix possible NULL pointer access
cfq_get_queue()->cfq_find_alloc_queue() can fail, check the returned value.
Signed-off-by: Oleg Nesterov <[email protected]>
Note that this isn't a bug at the moment, since the regular IO path
does not call this path without __GFP_WAIT set. However, it could be a
future bug, so I've applied it.
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
