summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/ChangeLog6
-rw-r--r--libdiskfs/diskfs.h8
-rw-r--r--libdiskfs/fsys-getroot.c4
3 files changed, 12 insertions, 6 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index d09ad920..1c5ace96 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-05 Marcus Brinkmann <marcus@gnu.org>
+
+ * diskfs.h: Refer to dir_lookup, not dir_pathtrans, in comment.
+ * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
+ Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
+
2002-01-03 Roland McGrath <roland@frob.com>
* dir-lookup.c (diskfs_S_dir_lookup): Clear S_ITRANS bits in MODE.
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index d32484da..f7838876 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -1,5 +1,5 @@
/* Definitions for fileserver helper functions
- Copyright (C) 1994,95,96,97,98,99,2001 Free Software Foundation, Inc.
+ Copyright (C) 1994,95,96,97,98,99,2001, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -47,7 +47,7 @@ struct protid
struct shared_io *mapped;
};
-/* One of these is created for each node opened by dir_pathtrans. */
+/* One of these is created for each node opened by dir_lookup. */
struct peropen
{
int filepointer;
@@ -220,8 +220,8 @@ extern int diskfs_link_max;
extern int diskfs_name_max;
/* The user must define this variable; it is the maximum number of
- symlinks to be traversed within a single call to dir_pathtrans.
- If this is exceeded, dir_pathtrans will return ELOOP. */
+ symlinks to be traversed within a single call to dir_lookup.
+ If this is exceeded, dir_lookup will return ELOOP. */
extern int diskfs_maxsymlinks;
/* This variable is defined by diskfs; the user should set it if
diff --git a/libdiskfs/fsys-getroot.c b/libdiskfs/fsys-getroot.c
index 4e44395d..08eca284 100644
--- a/libdiskfs/fsys-getroot.c
+++ b/libdiskfs/fsys-getroot.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998 Free Software Foundation
+ Copyright (C) 1993,94,95,96,97,98, 2002 Free Software Foundation
This file is part of the GNU Hurd.
@@ -68,7 +68,7 @@ diskfs_S_fsys_getroot (fsys_t controlport,
mutex_lock (&diskfs_root_node->lock);
/* This code is similar (but not the same as) the code in
- dir-pathtrans.c that does the same thing. Perhaps a way should
+ dir-lookup.c that does the same thing. Perhaps a way should
be found to share the logic. */
type = diskfs_root_node->dn_stat.st_mode & S_IFMT;