summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-22 20:51:52 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-22 20:51:52 +0000
commitbfc65aa0a6672eb02137118be30650c5f9fef1b4 (patch)
tree9fb01323e1a3ed02b08710158ca8face32234921 /libdiskfs
parentcc2b935f48733eba58eacac83250064110a7ee3d (diff)
(diskfs_S_dir_rename): Use new args for dirrewrite and dirremove.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-rename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dir-rename.c b/libdiskfs/dir-rename.c
index 4a63bddc..31fcc07f 100644
--- a/libdiskfs/dir-rename.c
+++ b/libdiskfs/dir-rename.c
@@ -144,7 +144,7 @@ diskfs_S_dir_rename (struct protid *fromcred,
if (tnp)
{
- err = diskfs_dirrewrite (tdp, fnp, ds);
+ err = diskfs_dirrewrite (tdp, tnp, fnp, toname, ds);
if (!err)
{
tnp->dn_stat.st_nlink--;
@@ -196,7 +196,7 @@ diskfs_S_dir_rename (struct protid *fromcred,
diskfs_nrele (tmpnp);
- err = diskfs_dirremove (fdp, ds);
+ err = diskfs_dirremove (fdp, fnp, fromname, ds);
if (diskfs_synchronous)
diskfs_node_update (fdp, 1);