diff options
author | Anton Ivanov <anton.ivanov@cambridgegreys.com> | 2019-02-26 15:55:25 +0000 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-03-06 22:39:18 +0100 |
commit | aea05eb56e47046de1e5b508d40931dca969f1e5 (patch) | |
tree | 198e7e45ab8ae97a1a6df74279e8c41133a39a29 /Documentation/kbuild/modules.txt | |
parent | df20af1e270bb6e024d9d009516b1da864d58632 (diff) | |
download | linux-aea05eb56e47046de1e5b508d40931dca969f1e5.tar.gz linux-aea05eb56e47046de1e5b508d40931dca969f1e5.tar.bz2 linux-aea05eb56e47046de1e5b508d40931dca969f1e5.zip |
um: Fix for a possible OOPS in ubd initialization
If the ubd device failed to allocate a queue during
initialization it tried call blk_cleanup_queue resulting
in an oops.
This patch simplifies the cleanup logic and ensures that
blk_queue_cleanup is called only if there is a valid queue.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'Documentation/kbuild/modules.txt')
0 files changed, 0 insertions, 0 deletions