summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/lookup.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libdiskfs/lookup.c b/libdiskfs/lookup.c
index 4408b3ea..6baa78bb 100644
--- a/libdiskfs/lookup.c
+++ b/libdiskfs/lookup.c
@@ -99,8 +99,6 @@ diskfs_lookup (struct node *dp, char *name, enum lookup_type type,
{
if (np)
*np = 0;
- if (!diskfs_readonly)
- dp->dn_set_atime = 1;
return ENOENT;
}
else if (cached)
@@ -116,15 +114,11 @@ diskfs_lookup (struct node *dp, char *name, enum lookup_type type,
diskfs_nput (cached);
if (ds)
diskfs_null_dirstat (ds);
- if (!diskfs_readonly)
- dp->dn_set_atime = 1;
return 0;
}
}
err = diskfs_lookup_hard (dp, name, type, np, ds, cred);
- if (!diskfs_readonly)
- dp->dn_set_atime = 1;
if (err && err != ENOENT)
return err;