get_key_material_https: label 'kfdok' defined but not used

The label 'kfdok' is only used with O_TMPFILE, we need to use
the same #ifdef around this label.

Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Toomas Soome <tsoome@me.com>
Closes #17894
This commit is contained in:
Toomas Soome 2025-11-04 23:13:07 +02:00 committed by Brian Behlendorf
parent 5582e8b08e
commit 612e8f1e57

View File

@ -613,7 +613,9 @@ get_key_material_https(libzfs_handle_t *hdl, const char *uri,
(void) unlink(path);
free(path);
#ifdef O_TMPFILE
kfdok:
#endif
if ((key = fdopen(kfd, "r+")) == NULL) {
ret = errno;
(void) close(kfd);