From 19c24c308bda3932d7c174c472df53e66059b551 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 20 Sep 1999 13:52:25 +0000 Subject: 1999-09-20 Thomas Bushnell, BSG * 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. --- libdiskfs/conch-fetch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs/conch-fetch.c') 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; -- cgit v1.2.3