summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-14 01:23:21 +0000
committerMiles Bader <miles@gnu.org>1997-02-14 01:23:21 +0000
commite7cc04f571685cb9396f254ebe5d7145266a32a4 (patch)
tree99897c755761230f7f564a275c641807859b741f
parentc33dff9af07b01d05c1a8fd1a4294dd154b321cd (diff)
(diskfs_S_file_exec):
Pass a prototype peropen instead of the dotdotport and depth to diskfs_make_peropen.
-rw-r--r--libdiskfs/file-exec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c
index 57e9cbd0..1482f1b0 100644
--- a/libdiskfs/file-exec.c
+++ b/libdiskfs/file-exec.c
@@ -112,9 +112,7 @@ diskfs_S_file_exec (struct protid *cred,
#endif
if (! err)
- err = diskfs_create_protid (diskfs_make_peropen (np, O_READ,
- cred->po->dotdotport,
- cred->po->depth),
+ err = diskfs_create_protid (diskfs_make_peropen (np, O_READ, cred->po),
cred->user, &newpi);
if (! err)