diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2025-08-20 22:45:54 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2025-08-20 22:45:54 +0000 |
commit | b44cc1b479fefc8570611309c3f5a6966fb26e3b (patch) | |
tree | 9671275d5531456f0041f17bfdcb7f876b190d15 /sys/contrib/openzfs/module/zfs/space_map.c | |
parent | aaf65a13c06a2555257a75b7f2fe63319238cf4f (diff) |
Attempting to mount or even open / with some tftp servers
causes a several minute delay in boot.
Since opening a directory via TFTP does not make sense, we
avoid it. We don't know if using TFTP until after net_open()
has been called.
Add an is_tftp() accessor to avoid everyone having to include
all the net* headers.
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D51447
Diffstat (limited to 'sys/contrib/openzfs/module/zfs/space_map.c')
0 files changed, 0 insertions, 0 deletions