Source-Changes archive

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

CVS commit: src/sys/nfs



Module Name:    src
Committed By:   drochner
Date:           Thu Apr 24 21:21:08 UTC 2003

Modified Files:
        src/sys/nfs: nfs.h nfs_nqlease.c nfs_socket.c nfs_subs.c nfs_var.h
            nfs_vfsops.c nfs_vnops.c nfsm_subs.h nqnfs.h

Log Message:
Change some subordinate functions to take a "struct nfsnode" argument
instead of "struct vnode". This saves a number of pointer dereferences;
it sums up to about half a kB for me. And it paves the way for future
fixes.
While cleaning up, eliminate a write-only member of "struct nfsreq"
and a pointless assignment in the NFS_V2_ONLY case.


To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 src/sys/nfs/nfs.h
cvs rdiff -r1.46 -r1.47 src/sys/nfs/nfs_nqlease.c
cvs rdiff -r1.82 -r1.83 src/sys/nfs/nfs_socket.c
cvs rdiff -r1.114 -r1.115 src/sys/nfs/nfs_subs.c
cvs rdiff -r1.29 -r1.30 src/sys/nfs/nfs_var.h
cvs rdiff -r1.125 -r1.126 src/sys/nfs/nfs_vfsops.c
cvs rdiff -r1.164 -r1.165 src/sys/nfs/nfs_vnops.c
cvs rdiff -r1.25 -r1.26 src/sys/nfs/nfsm_subs.h
cvs rdiff -r1.9 -r1.10 src/sys/nfs/nqnfs.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