diff options
author | Miles Bader <miles@gnu.org> | 1997-02-14 01:16:44 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-02-14 01:16:44 +0000 |
commit | 589ce62d84d27e21e73cb675dec7c0e19a945f82 (patch) | |
tree | 5042be6f847b057ab0cf4307858bf18c7a60a354 | |
parent | b26aae9eed282aed2ce3c11106398857cd7548a1 (diff) |
(diskfs_S_dir_mkfile):
Pass a prototype peropen instead of the dotdotport and depth to
diskfs_make_peropen.
-rw-r--r-- | libdiskfs/dir-mkfile.c | 4 |
1 files changed, 1 insertions, 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) { |