From bfc65aa0a6672eb02137118be30650c5f9fef1b4 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 22 Mar 1996 20:51:52 +0000 Subject: (diskfs_S_dir_rename): Use new args for dirrewrite and dirremove. --- libdiskfs/dir-rename.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs/dir-rename.c') 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); -- cgit v1.2.3