summaryrefslogtreecommitdiff
path: root/block/genhd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-04-06 08:22:58 +0200
committerJens Axboe <axboe@kernel.dk>2021-04-08 10:24:36 -0600
commite30691237bc1e055c55b0fe256ed7fc1a4ee1122 (patch)
tree118eab003b58e22a70076fbcdc33e60db380ab97 /block/genhd.c
parent6c4541a8bb94a1cccca55ee53c866eb72bf279cf (diff)
downloadlinux-next-e30691237bc1e055c55b0fe256ed7fc1a4ee1122.tar.gz
block: simplify partition_overlaps
Just use xa_for_each to iterate over the partitions as there is no need to grab a reference to each partition. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210406062303.811835-8-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions