Page MenuHomeFreeBSD

vfs: always retain path buffer after lookup
ClosedPublic

Authored by mjg on Sep 12 2022, 11:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 18, 9:35 PM
Unknown Object (File)
Dec 3 2024, 8:53 PM
Unknown Object (File)
Nov 27 2024, 3:01 AM
Unknown Object (File)
Nov 27 2024, 3:01 AM
Unknown Object (File)
Nov 27 2024, 2:48 AM
Unknown Object (File)
Nov 24 2024, 3:21 PM
Unknown Object (File)
Nov 17 2024, 7:03 PM
Unknown Object (File)
Oct 14 2024, 8:15 PM

Details

Summary

This removes some of the complexity needed to maintain HASBUF and allows for removal of SAVENAME injections by filesystems.

Ultimately both flags get retired.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mjg requested review of this revision.Sep 12 2022, 11:10 PM
kib added inline comments.
sys/sys/namei.h
163

I believe it is useful to assert that removed flags are not passed to NDINIT() or namei()

This revision is now accepted and ready to land.Sep 13 2022, 7:38 PM

@rmacklem can you give this patch a spin please concerning nfs parts? works for me(tm)

I ran a test cycle for NFS using a main kernel
with this patch committed in it and did not see
any problems.