summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-06 08:30:04 +0000
committerMiles Bader <miles@gnu.org>1997-02-06 08:30:04 +0000
commit47dbb2eeb9beca7d4bfdadfe9c4741becafdc595 (patch)
tree95ea78ff600060fe080862f893c5c84b06f0c1e8 /libdiskfs
parent0046769f975534e2d7f5f0cc3b56e0f8045dbd87 (diff)
(diskfs_S_dir_mkdir):
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-mkdir.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/dir-mkdir.c b/libdiskfs/dir-mkdir.c
index 89477755..0f1bf8e1 100644
--- a/libdiskfs/dir-mkdir.c
+++ b/libdiskfs/dir-mkdir.c
@@ -1,5 +1,5 @@
/* libdiskfs implementation of fs.defs: dir_mkdir
- Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation
+ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -38,7 +38,8 @@ diskfs_S_dir_mkdir (struct protid *dircred,
mutex_lock (&dnp->lock);
- error = diskfs_lookup (dnp, name, CREATE, 0, ds, dircred);
+ error = diskfs_lookup (dnp, name, CREATE, 0, ds, dircred,
+ dircred->po->depth, 0);
if (error == EAGAIN)
error = EEXIST;