Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-5] src/sys/nfs



Module Name:    src
Committed By:   snj
Date:           Mon Apr 13 21:06:50 UTC 2009

Modified Files:
        src/sys/nfs [netbsd-5]: nfs_serv.c nfsm_subs.h

Log Message:
Pull up following revision(s) (requested by ad in ticket #700):
        sys/nfs/nfs_serv.c: revision 1.144
        sys/nfs/nfsm_subs.h: revision 1.51
PR kern/41158: nfs_rename() locking against myself
nfsrv_rename() can exit without calling genfs_renamelock_exit() because
the nfsm_reply() can do return (0) on error.
Change nfsm_reply to use 'error = 0; goto nfsmout' instead.
Fix a few place so it's safe to goto nfsmout from nfsm_reply, or other
macros calling it.
As a side effect it could fix a missing vrele(dirp) in various place where
nfsm_reply could return(0).


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.138.16.1 src/sys/nfs/nfs_serv.c
cvs rdiff -u -r1.50 -r1.50.52.1 src/sys/nfs/nfsm_subs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index