Skip to content
Commit 1d1f6cc5 authored by Kees Cook's avatar Kees Cook
Browse files

pstore/blk: Include zone in pstore_device_info



Information was redundant between struct pstore_zone_info and struct
pstore_device_info. Use struct pstore_zone_info, with member name "zone".

Additionally untangle the logic for the "best effort" block device
instance.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Fixed-by: default avatarPu Lehui <pulehui@huawei.com>
Link: https://lore.kernel.org/lkml/20210617005424.182305-1-pulehui@huawei.com
parent c811659b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment