CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/08/11 05:07:36
Modified files:
sys/nfs : nfs_serv.c
Log message:
Fix a few bugs in nfsrv_rename() error recovery code.
- Prevent a double vrele() by setting the vnode pointer to NULL.
- Check if vnode pointers have been set to NULL before trying to
vrele().
- don't double free the component path name buffer.
- Add a workaround for multiple vnode pointers all pointing to the
same vnode and the code doing vrele() on all of them, leading to
botched refcounts. This is a horrible hack, but a real fix is being
worked on.
OK blambert@