block: blkdev_issue_secure_erase loop style
authorKeith Busch <kbusch@kernel.org>
Fri, 23 Feb 2024 15:59:07 +0000 (07:59 -0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 24 Feb 2024 19:46:46 +0000 (12:46 -0700)
commit5affe497c346343ecc42e6095b60dafe15e1453e
tree50acb4d188343d21a1c4050d3590f7ba9c777c24
parent03f12122b20b6e6028e9ed69030a49f9cffcbb75
block: blkdev_issue_secure_erase loop style

Use consistent coding style in this file. All the other loops for the
same purpose use "while (nr_sects)", so they win.

Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20240223155910.3622666-2-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-lib.c