summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-14 01:20:19 +0000
committerMiles Bader <miles@gnu.org>1997-02-14 01:20:19 +0000
commitbc04a6650d0edd057694b5364e2980b64bdcc802 (patch)
treeda44219ede0b0f2a6d00c139bff63b483925924e
parent5573044c20f0676bf765c6ec8bf89d14659884cd (diff)
(diskfs_S_dir_unlink):
Don't pass depth args to diskfs_lookup.
-rw-r--r--libdiskfs/dir-unlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c
index 13dd8f4b..7a6ce5da 100644
--- a/libdiskfs/dir-unlink.c
+++ b/libdiskfs/dir-unlink.c
@@ -39,7 +39,7 @@ diskfs_S_dir_unlink (struct protid *dircred,
mutex_lock (&dnp->lock);
- error = diskfs_lookup (dnp, name, REMOVE, &np, ds, dircred, 0, 0);
+ error = diskfs_lookup (dnp, name, REMOVE, &np, ds, dircred);
if (error == EAGAIN)
error = EISDIR;
if (error)