summaryrefslogtreecommitdiff
path: root/libdiskfs/conch-fetch.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/conch-fetch.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/conch-fetch.c')
-rw-r--r--libdiskfs/conch-fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/conch-fetch.c b/libdiskfs/conch-fetch.c
index 9d31265c..2c5d0fd8 100644
--- a/libdiskfs/conch-fetch.c
+++ b/libdiskfs/conch-fetch.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994, 1995, 1996 Free Software Foundation
+ Copyright (C) 1994, 1995, 1996, 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
@@ -58,7 +58,7 @@ iohelp_fetch_shared_data (void *arg)
cred->po->np->dn_set_mtime = 1;
mod = 1;
}
- if (cred->mapped->accessed)
+ if (cred->mapped->accessed && ! _diskfs_noatime)
{
cred->po->np->dn_set_atime = 1;
mod = 1;