summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-09 18:30:50 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-09 18:30:50 +0000
commit03f4de902c252c288283692235a3f21ed2cf4c7d (patch)
treeb8119f38794e04595136027f8c15294273b298df /libdiskfs
parent46aea174114c7980ad5839dfb6527e4aa92cd382 (diff)
(diskfs_S_dir_link): fixup.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-link.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/dir-link.c b/libdiskfs/dir-link.c
index 9bff1c9a..5827772d 100644
--- a/libdiskfs/dir-link.c
+++ b/libdiskfs/dir-link.c
@@ -105,7 +105,7 @@ diskfs_S_dir_link (struct protid *dircred,
if (tnp)
{
assert (!excl);
- error = diskfs_dirrewrite (dp, tnp, np, name, ds);
+ error = diskfs_dirrewrite (dnp, tnp, np, name, ds);
if (!error)
{
/* Deallocate link on TNP */
@@ -117,10 +117,10 @@ diskfs_S_dir_link (struct protid *dircred,
diskfs_nput (tnp);
}
else
- error = diskfs_direnter (dp, name, np, ds, dircred);
+ error = diskfs_direnter (dnp, name, np, ds, dircred);
if (diskfs_synchronous)
- diskfs_node_update (dp, 1);
+ diskfs_node_update (dnp, 1);
mutex_unlock (&dnp->lock);
mutex_unlock (&np->lock);