diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-08-30 15:16:20 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-08-30 15:16:20 +0000 |
commit | e8719af2ad60353ba5dd0d3f18ae595c513994ec (patch) | |
tree | 04e65882e81318eeb2ccaf3e7a1849aaffeb90ba /sys/dev | |
parent | 5ccea37040f38e3b0279d365d87480267598bdbd (diff) |
if nfs_namei() fails, there's no ni_startdir and the pathname buffer has
already been freed, thus make the callers of nfs_namei() bail out early,
instead of jumping to nfsmout as there they will try to vrele() vnodes
that don't exists (NULL pointers) and free the pathname buffer.
this is way nicer then adding checks after the nfsmout label.
OK blambert@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions