summaryrefslogtreecommitdiffstats
path: root/samples/hw_breakpoint
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2018-10-11 21:20:49 +0200
committerJens Axboe <axboe@kernel.dk>2018-10-16 17:50:03 +0200
commit71327f547ee3a46ec5c39fdbbd268401b2578d0e (patch)
tree6c887980b26407e736d4275da318affba46ff372 /samples/hw_breakpoint
parentataflop: fold headers into C file (diff)
downloadlinux-71327f547ee3a46ec5c39fdbbd268401b2578d0e.tar.xz
linux-71327f547ee3a46ec5c39fdbbd268401b2578d0e.zip
ataflop: fix error handling during setup
Move queue allocation next to disk allocation to fix a couple of issues: - If add_disk() hasn't been called, we should clear disk->queue before calling put_disk(). - If we fail to allocate a request queue, we still need to put all of the disks, not just the ones that we allocated queues for. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples/hw_breakpoint')
0 files changed, 0 insertions, 0 deletions