HomeFreeBSD

i-t: don't try to import from empty cache

Description

i-t: don't try to import from empty cache

Chases 7c64ee9e7731b7ad39e300b4a422892dbe8d4b23
("zfs-import-{cache,scan}: change condition to FileNotEmpty")

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

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on May 26 2021, 11:13 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 9 2021, 8:05 PM
Parents
rG11b165cc9bac: Use %%/* instead of awk -F/ {print $1} to strip datasets
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGb12a6d961cd5: i-t: don't try to import from empty cache (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Jun 9 2021, 8:05 PM