diff options
author | Omar Sandoval <osandov@fb.com> | 2018-10-11 22:20:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-13 22:16:49 +0300 |
commit | a2b544ef5e0fada663a565857d688f7f61b5fa27 (patch) | |
tree | bb28858b399f6449856e40d8330ac98019012616 /drivers/net/tun.c | |
parent | 0915f56236d98fe73ba35fc03e00d1c76404cb8b (diff) | |
download | linux-a2b544ef5e0fada663a565857d688f7f61b5fa27.tar.xz |
swim: fix cleanup on setup error
[ Upstream commit 1448a2a5360ae06f25e2edc61ae070dff5c0beb4 ]
If we fail to allocate the request queue for a disk, we still need to
free that disk, not just the previous ones. Additionally, we need to
cleanup the previous request queues.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions