diff options
Diffstat (limited to 'libdiskfs/dir-link.c')
-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; |