diff options
Diffstat (limited to 'nfs/cache.c')
-rw-r--r-- | nfs/cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nfs/cache.c b/nfs/cache.c index 9b76fd73..f72bba59 100644 --- a/nfs/cache.c +++ b/nfs/cache.c @@ -79,18 +79,18 @@ netfs_node_norefs (struct node *np) if (np->nn->dead_dir) { np->references++; - spin_unlock (&diskfs_node_refcnt_lock); + spin_unlock (&netfs_node_refcnt_lock); netfs_attempt_unlink ((struct netcred *)-1, np->nn->dead_dir, np->nn->dead_name); - diskfs_nrele (np->nn->dead_dir); + netfs_nrele (np->nn->dead_dir); free (np->nn->dead_name); np->nn->dead_dir = 0; np->nn->dead_name = 0; - diskfs_nput (np); + netfs_nput (np); /* Caller expects us to leave this locked... */ - spin_lock (&diskfs_node_refcnt_lock); + spin_lock (&netfs_node_refcnt_lock); } else { |