HomeFreeBSD

zpool: main: use ARRAY_SIZE(class_name) instead of 3

Description

zpool: main: use ARRAY_SIZE(class_name) instead of 3

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13125

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Feb 20 2022, 3:16 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 4 2022, 8:08 PM
Parents
rGf4826a2d4676: libzfs: util: don't check for allocation errors from infallible zfs_*()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGcf5a9d8c397f: zpool: main: use ARRAY_SIZE(class_name) instead of 3 (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Mar 4 2022, 8:08 PM