summaryrefslogtreecommitdiff
path: root/libnetfs/nput.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/nput.c')
-rw-r--r--libnetfs/nput.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnetfs/nput.c b/libnetfs/nput.c
index 1d19482a..c62b7b9f 100644
--- a/libnetfs/nput.c
+++ b/libnetfs/nput.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
Written by Thomas Bushnell, BSG.
This file is part of the GNU Hurd.
@@ -28,6 +28,7 @@ netfs_nput (struct node *np)
np->references--;
if (np->references == 0)
netfs_drop_node (np);
+ /* netfs_drop_node drops netfs_node_refcnt_lock for us. */
else
{
spin_unlock (&netfs_node_refcnt_lock);