cache: add empty path support
authorMateusz Guzik <mjg@FreeBSD.org>
Sun, 26 Sep 2021 13:00:24 +0000 (15:00 +0200)
committerMateusz Guzik <mjg@FreeBSD.org>
Sat, 16 Oct 2021 20:08:37 +0000 (20:08 +0000)
commit7dd419cabc6bb9e019c56d15f8e6a88ee2f46859
tree60656d4f13851677da98e6a40bb9c1e24bf52571
parent46dd801acb2318c8464b185893bb111f09b71138
cache: add empty path support

This avoids spurious drop offs as EMPTY is passed regardless of the
actual path name.

Pushign the work inside the lookup instead of just ignorign the flag
allows avoid checking for empty pathname for all other lookups.
sys/kern/kern_descrip.c
sys/kern/vfs_cache.c
sys/kern/vfs_lookup.c