diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 18:30:50 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 18:30:50 +0000 |
commit | 03f4de902c252c288283692235a3f21ed2cf4c7d (patch) | |
tree | b8119f38794e04595136027f8c15294273b298df | |
parent | 46aea174114c7980ad5839dfb6527e4aa92cd382 (diff) |
(diskfs_S_dir_link): fixup.
-rw-r--r-- | libdiskfs/dir-link.c | 6 |
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); |