From 589ce62d84d27e21e73cb675dec7c0e19a945f82 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 14 Feb 1997 01:16:44 +0000 Subject: (diskfs_S_dir_mkfile): Pass a prototype peropen instead of the dotdotport and depth to diskfs_make_peropen. --- libdiskfs/dir-mkfile.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libdiskfs/dir-mkfile.c b/libdiskfs/dir-mkfile.c index e49143d2..83158916 100644 --- a/libdiskfs/dir-mkfile.c +++ b/libdiskfs/dir-mkfile.c @@ -68,9 +68,7 @@ diskfs_S_dir_mkfile (struct protid *cred, return err; flags &= (O_READ | O_WRITE | O_EXEC); - err = diskfs_create_protid (diskfs_make_peropen (np, flags, - cred->po->dotdotport, - cred->po->depth + 1), + err = diskfs_create_protid (diskfs_make_peropen (np, flags, cred->po), cred->user, &newpi); if (! err) { -- cgit v1.2.3