summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>2019-02-26 18:55:25 +0300
committerRichard Weinberger <richard@nod.at>2019-03-07 00:39:18 +0300
commitaea05eb56e47046de1e5b508d40931dca969f1e5 (patch)
tree198e7e45ab8ae97a1a6df74279e8c41133a39a29 /fs
parentdf20af1e270bb6e024d9d009516b1da864d58632 (diff)
downloadlinux-aea05eb56e47046de1e5b508d40931dca969f1e5.tar.xz
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 'fs')
0 files changed, 0 insertions, 0 deletions