summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2024-11-07 15:43:00 +0900
committerJens Axboe <axboe@kernel.dk>2024-11-07 15:30:54 -0700
commitf3d9bf05140dd242cdc33c431489a853f2bc1b67 (patch)
treef05c753fe689a976ae0a0e2ef7f4029ba704b33c /scripts/generate_rust_analyzer.py
parentd7cb6d7414ea1b33536fa6d11805cb8dceec1f97 (diff)
block: Add a public bdev_zone_is_seq() helper
Turn the private disk_zone_is_conv() function in blk-zoned.c into a public and documented bdev_zone_is_seq() helper with the inverse polarity of the original function, also adding a check for non-zoned devices so that all file systems can use the helper, even with a regular block device. Suggested-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20241107064300.227731-3-dlemoal@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions