summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-14 01:16:28 +0000
committerMiles Bader <miles@gnu.org>1997-02-14 01:16:28 +0000
commitb26aae9eed282aed2ce3c11106398857cd7548a1 (patch)
tree796fa33c234a028a4d97f99a27282a85e6e4bb4d /libdiskfs
parent43784f31807e4d23d32333ac6d8159146b05178b (diff)
(diskfs_S_dir_mkdir):
Don't pass depth args to diskfs_lookup.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-mkdir.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libdiskfs/dir-mkdir.c b/libdiskfs/dir-mkdir.c
index 0f1bf8e1..1f4ff0ea 100644
--- a/libdiskfs/dir-mkdir.c
+++ b/libdiskfs/dir-mkdir.c
@@ -38,9 +38,7 @@ diskfs_S_dir_mkdir (struct protid *dircred,
mutex_lock (&dnp->lock);
- error = diskfs_lookup (dnp, name, CREATE, 0, ds, dircred,
- dircred->po->depth, 0);
-
+ error = diskfs_lookup (dnp, name, CREATE, 0, ds, dircred);
if (error == EAGAIN)
error = EEXIST;
if (!error)