summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-14 01:15:49 +0000
committerMiles Bader <miles@gnu.org>1997-02-14 01:15:49 +0000
commitfbf15aef884f29774fed2a7e8551849f2c8cf834 (patch)
treeaf3a0e94969c76436eb339f05ca96b9821b0b076
parent7e5bb9ae9d1dde97480b6f37b3425601e8334bea (diff)
(diskfs_S_dir_link):
Don't pass depth args to diskfs_lookup.
-rw-r--r--libdiskfs/dir-link.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdiskfs/dir-link.c b/libdiskfs/dir-link.c
index e82e6fcf..7f1ab2f5 100644
--- a/libdiskfs/dir-link.c
+++ b/libdiskfs/dir-link.c
@@ -53,8 +53,7 @@ diskfs_S_dir_link (struct protid *dircred,
mutex_lock (&dnp->lock);
/* Lookup new location */
- error = diskfs_lookup (dnp, name, RENAME, &tnp, ds, dircred,
- dircred->po->depth, 0);
+ error = diskfs_lookup (dnp, name, RENAME, &tnp, ds, dircred);
if (!error && excl)
{
error = EEXIST;