diff options
author | Miles Bader <miles@gnu.org> | 1997-02-06 08:32:15 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-02-06 08:32:15 +0000 |
commit | ee780c43a31df046cf9ec469b6a1266e6d1e1a39 (patch) | |
tree | 9690cdc04d990346c5caefeb5b9f68ff4a0b76cb /libdiskfs/dir-mkfile.c | |
parent | fd40bd9f042b191ed7b5c6a59e3f073585abfe92 (diff) |
(diskfs_S_dir_mkfile):
New file's depth is one greater than CRED's.
Diffstat (limited to 'libdiskfs/dir-mkfile.c')
-rw-r--r-- | libdiskfs/dir-mkfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-mkfile.c b/libdiskfs/dir-mkfile.c index 84964812..e49143d2 100644 --- a/libdiskfs/dir-mkfile.c +++ b/libdiskfs/dir-mkfile.c @@ -70,7 +70,7 @@ 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->depth), + cred->po->depth + 1), cred->user, &newpi); if (! err) { |