summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/ChangeLog6
-rw-r--r--libdiskfs/diskfs.h8
-rw-r--r--libdiskfs/node-times.c7
-rw-r--r--libdiskfs/priv.h6
4 files changed, 18 insertions, 9 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index 7c98c793..a9555d04 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -1,3 +1,9 @@
+2009-02-16 Thomas Schwinge <tschwinge@gnu.org>
+
+ * diskfs.h: Instead of `st_?time', talk about `st_?tim'.
+ * node-times.c: Likewise.
+ * priv.h: Likewise.
+
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* file-utimes.c (diskfs_S_file_utimes): Use st_atim.tv_sec/
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index 472b9457..9a61964c 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -1,7 +1,7 @@
/* Definitions for fileserver helper functions
- Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2007
- Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2007, 2008,
+ 2009 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
@@ -81,7 +81,7 @@ struct node
/* Stat has been modified if one of the following four fields
is nonzero. Also, if one of the dn_set_?time fields is nonzero,
- the appropriate dn_stat.st_?time field needs to be updated. */
+ the appropriate dn_stat.st_?tim field needs to be updated. */
int dn_set_ctime;
int dn_set_atime;
int dn_set_mtime;
@@ -870,7 +870,7 @@ diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred);
NP->dn_set_atime. */
void diskfs_set_node_atime (struct node *np);
-/* If NP->dn_set_ctime is set, then modify NP->dn_stat.st_ctime
+/* If NP->dn_set_ctime is set, then modify NP->dn_stat.st_ctim
appropriately; do the analogous operation for atime and mtime as well. */
void diskfs_set_node_times (struct node *np);
diff --git a/libdiskfs/node-times.c b/libdiskfs/node-times.c
index 43339224..67f0142e 100644
--- a/libdiskfs/node-times.c
+++ b/libdiskfs/node-times.c
@@ -1,6 +1,7 @@
-/* Process st_?time updates marked for a diskfs node.
+/* Process st_?tim updates marked for a diskfs node.
- Copyright (C) 1994, 1996, 1999, 2000, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1996, 1999, 2000, 2007, 2009 Free Software Foundation,
+ Inc.
This file is part of the GNU Hurd.
@@ -32,7 +33,7 @@ diskfs_set_node_atime (struct node *np)
np->dn_set_atime = 1;
}
-/* If NP->dn_set_ctime is set, then modify NP->dn_stat.st_ctime
+/* If NP->dn_set_ctime is set, then modify NP->dn_stat.st_ctim
appropriately; do the analogous operation for atime and mtime as well. */
void
diskfs_set_node_times (struct node *np)
diff --git a/libdiskfs/priv.h b/libdiskfs/priv.h
index de8c747a..07464d56 100644
--- a/libdiskfs/priv.h
+++ b/libdiskfs/priv.h
@@ -1,5 +1,7 @@
/* Private declarations for fileserver library
- Copyright (C) 1994,95,96,97,98,99,2001,2006 Free Software Foundation, Inc.
+
+ Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2006, 2009 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
@@ -33,7 +35,7 @@
/* These inhibit setuid or exec. */
extern int _diskfs_nosuid, _diskfs_noexec;
-/* This relaxes the requirement to set `st_atime'. */
+/* This relaxes the requirement to set `st_atim'. */
extern int _diskfs_noatime;
/* This enables SysV style group behaviour. New nodes inherit the GID