git: kernel - NFS server cleanup and xid atomic ops

看板DFBSD_commit作者時間15年前 (2010/08/22 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CS4NNnD (DFBSD_commit)