commit | 2ee36fb7c3a635d9db4e7692a14e31535c273a22 | [log] [tgz] |
---|---|---|
author | Omar Sandoval <osandov@fb.com> | Thu Oct 11 12:20:41 2018 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 13 11:08:20 2018 -0800 |
tree | ee54ae917899ad3e2a069bcf550e53cd5fabe1f2 | |
parent | 8e00f4525729f11c22591104030da188bb3fe4b0 [diff] |
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>