On 6/16/24 23:04, Christoph Hellwig wrote:
> Since commit 7437bb73f087 ("block: remove support for the host aware zone
> model"), only ZBC devices expose a zoned access model. sd_is_zoned is
> used to check for that and thus return false for host aware devices.
>
> Replace the helper with the simple open coded TYPE_ZBC check to fix this.
>
> Fixes: 7437bb73f087 ("block: remove support for the host aware zone model")
> Signed-off-by: Christoph Hellwig<[email protected]>
> Reviewed-by: Bart Van Assche<[email protected]>
> Reviewed-by: Damien Le Moal<[email protected]>
> Reviewed-by: Hannes Reinecke<[email protected]>
> Reviewed-by: Johannes Thumshirn<[email protected]>
Looks good.
Reviewed-by: Chaitanya Kulkarni <[email protected]>
-ck