diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2015-07-09 16:32:58 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2015-07-09 16:32:58 +0000 |
commit | d177f49f6f47414bf8ecd07d6fb4714eb24384f9 (patch) | |
tree | db27788d8f4e079e63520e2debc824b7b981744e /secure/lib | |
parent | 56844a6203a1fad30cc35dcd1eee2e97d0113ea2 (diff) | |
download | src-d177f49f6f47414bf8ecd07d6fb4714eb24384f9.tar.gz src-d177f49f6f47414bf8ecd07d6fb4714eb24384f9.zip |
vfs: simplify error handling in namei
The logic is reorganised so that there is one exit point prior to the
lookup loop. This is an intermediate step to making audit logging
functions use found vnode instead of translating ni_dirfd on their own.
ni_startdir validation is removed. The only in-tree consumer is nfs
which already makes sure it is a directory.
Reviewed by: kib
Notes
Notes:
svn path=/head/; revision=285326
Diffstat (limited to 'secure/lib')
0 files changed, 0 insertions, 0 deletions