From 7c66508fb414b4d9271e0772c67d4e6383d912e2 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 5 Mar 2002 01:28:59 +0000 Subject: doc/ 2002-03-05 Marcus Brinkmann * hurd.texi (Diskfs Callbacks): Refer to dir_lookup, not dir_pathtrans. Reported by James A Morrison . fstests/ 2002-03-05 Marcus Brinkmann * fstests.c (main): Call dir_lookup, not dir_pathtrans. Reported by James A Morrison . hurd/ 2002-03-05 Marcus Brinkmann * 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 . libdiskfs/ 2002-03-05 Marcus Brinkmann * diskfs.h: Refer to dir_lookup, not dir_pathtrans, in comment. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. Reported by James A Morrison . libfshelp/ 2002-03-05 Marcus Brinkmann * fshelp.h: Refer to dir_lookup, not dir_pathtrans, in comment. Reported by James A Morrison . --- libdiskfs/ChangeLog | 6 ++++++ libdiskfs/diskfs.h | 8 ++++---- libdiskfs/fsys-getroot.c | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) (limited to 'libdiskfs') 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 + + * diskfs.h: Refer to dir_lookup, not dir_pathtrans, in comment. + * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. + Reported by James A Morrison . + 2002-01-03 Roland McGrath * 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; -- cgit v1.2.3