DragonFly-2.3.2.76.g42edf master sys/vfs/nfs nfs.h nfs_serv.c nfs_socket.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c nfs_vnops.c nfsm_subs.c nfsm_subs.h

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jul 17 18:37:36 PDT 2009


commit 42edf14f74e4d296cc417469a1c3042e42f8f686
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list