hurdextras-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

httpfs node.c


From: Samuel Thibault
Subject: httpfs node.c
Date: Mon, 2 Jan 2017 15:16:27 -0500 (EST)

CVSROOT:        /sources/hurdextras
Module name:    httpfs
Changes by:     Samuel Thibault <sthibaul>      17/01/02 15:16:27

Modified files:
        .              : node.c 

Log message:
        Update refcount management

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/httpfs/node.c?cvsroot=hurdextras&r1=1.1.1.1&r2=1.2

Patches:
Index: node.c
===================================================================
RCS file: /sources/hurdextras/httpfs/node.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- node.c      15 Apr 2002 19:25:42 -0000      1.1.1.1
+++ node.c      2 Jan 2017 20:16:27 -0000       1.2
@@ -90,9 +90,7 @@
        nd->owner = httpfs->uid;
 
        /*  Hold a reference to the new dir's node.  */
-       spin_lock (&netfs_node_refcnt_lock);
-       nd->references++;
-       spin_unlock (&netfs_node_refcnt_lock);
+       netfs_nref (nd);
 
        /* fill in stat info for the node */
        nd->nn_stat.st_mode = (S_IRUSR | S_IRGRP | S_IROTH) & ~httpfs->umask;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]