Page MenuHomeFreeBSD

vfs_cache.c: Use CACHE_FPL_SUPPORTED_CN_FLAGS
ClosedPublic

Authored by rmacklem on May 26 2025, 2:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 12 2025, 8:30 PM
Unknown Object (File)
Sep 11 2025, 3:17 PM
Unknown Object (File)
Sep 11 2025, 1:20 PM
Unknown Object (File)
Sep 11 2025, 10:44 AM
Unknown Object (File)
Sep 11 2025, 9:01 AM
Unknown Object (File)
Sep 7 2025, 6:23 PM
Unknown Object (File)
Sep 6 2025, 4:03 AM
Unknown Object (File)
Sep 4 2025, 1:01 PM
Subscribers

Details

Summary

Commit 2ec2ba7e232d added some code to cache_can_fplookup()
which worked (ensuring an abort when OPENNNAMED was set),
but showed I didn't understand what
CACHE_FPL_SUPPORTED_CN_FLAGS was used for.

This patch cleans it up.

Test Plan

Tested on a system where ZFS is patched to do named
attributes.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 26 2025, 2:28 AM
sys/kern/vfs_cache.c
4459

It's a bug that I did not include NAMEILOOKUP here. But due to a different bug that I just discovered, that flag is inadvertently cleared some of the time before we even get here. I'll post patches for these issues shortly.