mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
block: cleanup __alloc_disk_node
Use early returns and goto-based unwinding to simplify the flow a bit. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
e5c7fb4002
commit
f93af2a494
1 changed files with 38 additions and 35 deletions
Loading…
Add table
Add a link
Reference in a new issue