]> git.proxmox.com Git - mirror_zfs.git/commit
Make get_key_material_file fail more verbosely
authorRich Ercolani <214141+rincebrain@users.noreply.github.com>
Thu, 5 Aug 2021 23:48:33 +0000 (19:48 -0400)
committerGitHub <noreply@github.com>
Thu, 5 Aug 2021 23:48:33 +0000 (17:48 -0600)
commitf3678d70ff8f98d67caf377ec0326c9a6c7bcf29
treea6a321a013d364d6d8bf97e1750cb3bad13bfb0f
parentae1e40b3291149046d9ced3b19c774da6b30594d
Make get_key_material_file fail more verbosely

It turns out, there are a lot of possible reasons for fopen to fail.
Let's share which reason we failed for today.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12410
lib/libzfs/libzfs_crypto.c