summaryrefslogtreecommitdiff
path: root/libdiskfs/rdwr-internal.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-20 13:52:25 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-20 13:52:25 +0000
commit19c24c308bda3932d7c174c472df53e66059b551 (patch)
treefd3a67d7da9f39eb255b8c29a6671a1a02e34365 /libdiskfs/rdwr-internal.c
parentc4b45bac5105ad1f9d2b775c73acd1e5cac3e109 (diff)
1999-09-20 Thomas Bushnell, BSG <tb@mit.edu>
* node-times.c (diskfs_set_node_times): Don't implement _diskfs_noatime here. * conch-fetch.c (iohelp_fetch_shared_data): Don't update dn_set_atime on affected node if _diskfs_noatime. * rdwr-internal.c (_diskfs_rdwr_internal): Likewise.
Diffstat (limited to 'libdiskfs/rdwr-internal.c')
-rw-r--r--libdiskfs/rdwr-internal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/rdwr-internal.c b/libdiskfs/rdwr-internal.c
index 046467a3..790fc12e 100644
--- a/libdiskfs/rdwr-internal.c
+++ b/libdiskfs/rdwr-internal.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation
+ Copyright (C) 1994, 1995, 1996, 1997, 1999 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -45,7 +45,7 @@ _diskfs_rdwr_internal (struct node *np,
{
if (dir)
np->dn_set_mtime = 1;
- else
+ else if (! _diskfs_noatime)
np->dn_set_atime = 1;
}
@@ -61,7 +61,7 @@ _diskfs_rdwr_internal (struct node *np,
{
if (dir)
np->dn_set_mtime = 1;
- else
+ else if (!_diskfs_noatime)
np->dn_set_atime = 1;
}