summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-06 08:30:24 +0000
committerMiles Bader <miles@gnu.org>1997-02-06 08:30:24 +0000
commitfd40bd9f042b191ed7b5c6a59e3f073585abfe92 (patch)
treebe92a5e9ca20367cd669a78dd41b462dff2f741a
parent47dbb2eeb9beca7d4bfdadfe9c4741becafdc595 (diff)
(diskfs_S_dir_mkfile):
Supply DEPTH argument to diskfs_make_peropen.
-rw-r--r--libdiskfs/dir-mkfile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/dir-mkfile.c b/libdiskfs/dir-mkfile.c
index a95f9b34..84964812 100644
--- a/libdiskfs/dir-mkfile.c
+++ b/libdiskfs/dir-mkfile.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994, 1995, 1996 Free Software Foundation
+ Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation
This file is part of the GNU Hurd.
@@ -69,7 +69,8 @@ diskfs_S_dir_mkfile (struct protid *cred,
flags &= (O_READ | O_WRITE | O_EXEC);
err = diskfs_create_protid (diskfs_make_peropen (np, flags,
- cred->po->dotdotport),
+ cred->po->dotdotport,
+ cred->po->depth),
cred->user, &newpi);
if (! err)
{