diff options
author | Christoph Hellwig | 2020-11-10 06:48:53 +0100 |
---|---|---|
committer | Jens Axboe | 2020-12-01 14:53:39 -0700 |
commit | e79319af6d8cfd7311fef1bfbb1c59c94e6e10a9 (patch) | |
tree | 4ff488ec301873703f1a92c3c6dfe6416a8435e2 /block/badblocks.c | |
parent | 8d65269fe8065fee889bca5b204d711b0695a8f6 (diff) |
block: use disk_part_iter_exit in disk_part_iter_next
Call disk_part_iter_exit in disk_part_iter_next instead of duplicating
the functionality.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/badblocks.c')
0 files changed, 0 insertions, 0 deletions