git: kernel - NFS server cleanup and xid atomic ops

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 21 14:28:23 PDT 2010


commit 96f9dac19ca33eab88e62ea5758a611718174a27
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 21 14:26:12 2010 -0700

    kernel - NFS server cleanup and xid atomic ops
    
    * Use atomic_fetchadd_int() to allocate xid's in two places.
    
    * NULL out rp fields and clear flags after freeing their pointers,
      for safety.

Summary of changes:
 sys/vfs/nfs/krpc_subr.c    |    7 ++++-
 sys/vfs/nfs/nfs_srvcache.c |   49 ++++++++++++++++++++++++++++++++-----------
 sys/vfs/nfs/nfsm_subs.c    |   12 +++++-----
 3 files changed, 47 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/96f9dac19ca33eab88e62ea5758a611718174a27


-- 
DragonFly BSD source repository





More information about the Commits mailing list