diff options
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) { |