diff options
author | Miles Bader <miles@gnu.org> | 1997-02-14 01:15:49 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-02-14 01:15:49 +0000 |
commit | fbf15aef884f29774fed2a7e8551849f2c8cf834 (patch) | |
tree | af3a0e94969c76436eb339f05ca96b9821b0b076 | |
parent | 7e5bb9ae9d1dde97480b6f37b3425601e8334bea (diff) |
(diskfs_S_dir_link):
Don't pass depth args to diskfs_lookup.
-rw-r--r-- | libdiskfs/dir-link.c | 3 |
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; |