DragonFly commits List (threaded) for 2010-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - NFS server cleanup and xid atomic ops
commit 96f9dac19ca33eab88e62ea5758a611718174a27
Author: Matthew Dillon <dillon@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]