diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/ChangeLog | 7 | ||||
-rw-r--r-- | hurd/fs.defs | 6 | ||||
-rw-r--r-- | hurd/fsys.defs | 6 | ||||
-rw-r--r-- | hurd/hurd_types.h | 2 |
4 files changed, 14 insertions, 7 deletions
diff --git a/hurd/ChangeLog b/hurd/ChangeLog index 1fedd0c2..e3f744b9 100644 --- a/hurd/ChangeLog +++ b/hurd/ChangeLog @@ -1,3 +1,10 @@ +2002-03-05 Marcus Brinkmann <marcus@gnu.org> + + * fs.defs: Refer to dir_lookup, not dir_pathtrans, in comments. + * fsys.defs: Likewise. + * hurd_types.h (enum retry_type): Likewise. + Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. + 2002-01-01 Roland McGrath <roland@frob.com> * exec.defs (exec_exec, exec_setexecdata): Use SCP macro diff --git a/hurd/fs.defs b/hurd/fs.defs index c3bd618e..eed5f8ab 100644 --- a/hurd/fs.defs +++ b/hurd/fs.defs @@ -1,5 +1,5 @@ /* Definitions for the filesystem interface. - Copyright (C) 1994,95,96,97,98,99 Free Software Foundation, Inc. + Copyright (C) 1994,95,96,97,98,99, 2002 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -284,7 +284,7 @@ routine dir_rename ( /* Create a new file without linking it into the filesystem. You still must have write permission on the specified directory, even though it will not actually be written. Return in *newnode a port - to the file. Flags are the same as for dir_pathtrans, but + to the file. Flags are the same as for dir_lookup, but O_CREAT and O_TRUNC are assumed even if not specified. */ routine dir_mkfile ( directory: file_t; @@ -303,7 +303,7 @@ routine dir_notice_changes ( /* To get or set the translator currently running on a file, use file_set_translator, file_get_translator, or file_get_translator_cntl on a port gotten with the - FS_LOOKUP_NOTRANS flag to dir_pathtrans. You can send these RPCs + FS_LOOKUP_NOTRANS flag to dir_lookup. You can send these RPCs to a port to a translated node (looked up without FS_LOOKUP_NOTRANS) to stack a new translator on top of the existing one. */ diff --git a/hurd/fsys.defs b/hurd/fsys.defs index 353db249..979a6cfc 100644 --- a/hurd/fsys.defs +++ b/hurd/fsys.defs @@ -1,5 +1,5 @@ /* Definitions for the filesystem control interface - Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation + Copyright (C) 1992,93,94,95,96,97, 2002 Free Software Foundation This file is part of the GNU Hurd. @@ -51,9 +51,9 @@ routine fsys_goaway ( flags: int); /* Return a file to the root of the filesystem. - FLAGS are as for dir_pathtrans (but O_CREAT and O_EXCL are not + FLAGS are as for dir_lookup (but O_CREAT and O_EXCL are not meaningful). DO_RETRY, RETRY_NAME, and RESULT are as - for dir_pathtrans. The port should be authenticated with GEN_UIDS + for dir_lookup. The port should be authenticated with GEN_UIDS and GEN_GIDS (except, of course, for FS_RETRY_REAUTH and FS_RETRY_MAGICAL). DOTDOT_NODE is an unauthenticated port for the directory in which this root is located. */ diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h index cef0cecc..6fb4e627 100644 --- a/hurd/hurd_types.h +++ b/hurd/hurd_types.h @@ -83,7 +83,7 @@ typedef struct statfs fsys_statfsbuf_t; #define FS_TRANS_SET 0x00000004 /* Set or clear translator */ #define FS_TRANS_ORPHAN 0x00000008 /* Orphan the active translator. */ -/* Values for retry field in fs.defs:dir_pathtrans call: */ +/* Values for retry field in fs.defs:dir_lookup call: */ enum retry_type { FS_RETRY_NORMAL = 1, /* Retry normally if retry_name is not null. */ |