kernel/fs: Make vnode_path_to_vnode and derived methods take VnodePutter&.

Upcoming changes will make this method return values in _vnode even
when they return error codes under some conditions. To avoid easily-
caused memory leaks, this commit refactors the output variable to
be VnodePutter&, and all consuming methods to thus make use of Putters.

Should not be a functional change.

Change-Id: Id7b9066f8cd50c159d52c921b16e475e4e1de806
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7301
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Augustin Cavalier
2024-01-10 17:43:46 +00:00
committed by waddlesplash
parent 96bad7685b
commit 79c0b6288f
File diff suppressed because it is too large Load Diff