From fbf15aef884f29774fed2a7e8551849f2c8cf834 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 14 Feb 1997 01:15:49 +0000 Subject: (diskfs_S_dir_link): Don't pass depth args to diskfs_lookup. --- libdiskfs/dir-link.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3