看板 DFBSD_commit 關於我們 聯絡資訊
commit 42edf14f74e4d296cc417469a1c3042e42f8f686 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Jul 16 16:21:36 2009 -0700 NFS - Marathon - completely refactor the nfsm_* macros. Completely refactor the nfsm_*() macros in nfsm_subs.h, converting all of them to procedures in nfsm_subs.c. Add a nfsm_info structure to track the persistent state that the code depends on, and remove all related local variables from the other bits of the NFS code. Summary of changes: sys/vfs/nfs/nfs.h | 15 +- sys/vfs/nfs/nfs_serv.c | 1174 ++++++++++++++++++++++++------------------- sys/vfs/nfs/nfs_socket.c | 175 ++++---- sys/vfs/nfs/nfs_subs.c | 3 +- sys/vfs/nfs/nfs_syscalls.c | 19 +- sys/vfs/nfs/nfs_vfsops.c | 62 ++-- sys/vfs/nfs/nfs_vnops.c | 877 +++++++++++++++++---------------- sys/vfs/nfs/nfsm_subs.c | 813 ++++++++++++++++++++++++++++--- sys/vfs/nfs/nfsm_subs.h | 610 ++++------------------- 9 files changed, 2095 insertions(+), 1653 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/42edf14f74e4d296cc417469a1c3042e42f8f686 -- DragonFly BSD source repository