summaryrefslogtreecommitdiffstats
path: root/block/ioctl.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-04-06 08:23:00 +0200
committerJens Axboe <axboe@kernel.dk>2021-04-08 10:24:36 -0600
commitecc75a98b89917f18f295e154cd0bf056481c48f (patch)
treec0181ef658af661b5d7334497ecc4e6992d407a5 /block/ioctl.c
parente559f58d20dbcc0b541552ac6b5cbab29c964d6a (diff)
downloadlinux-stable-ecc75a98b89917f18f295e154cd0bf056481c48f.tar.gz
linux-stable-ecc75a98b89917f18f295e154cd0bf056481c48f.tar.bz2
linux-stable-ecc75a98b89917f18f295e154cd0bf056481c48f.zip
block: simplify show_partition
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-10-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions