git: kernel - Fix NFS panic

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Sep 16 10:05:42 PDT 2010


commit 104db2fbb89ba01fba8759aee3aa0c09eb13f9bf
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Sep 16 10:03:30 2010 -0700

    kernel - Fix NFS panic
    
    * nfs_write() was not wrapped with a token, leading to races.
    
    * Add some queueing assertions while we are here.
    
    Reported-by: Thomas Nikolajsen <thomas.nikolajsen at mail.dk>

Summary of changes:
 sys/vfs/nfs/nfs_bio.c    |   37 ++++++++++++++++++++++++++-----------
 sys/vfs/nfs/nfs_iod.c    |    1 -
 sys/vfs/nfs/nfs_socket.c |    1 +
 3 files changed, 27 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/104db2fbb89ba01fba8759aee3aa0c09eb13f9bf


-- 
DragonFly BSD source repository





More information about the Commits mailing list