summaryrefslogtreecommitdiff
path: root/ufs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ufs/inode.c')
-rw-r--r--ufs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ufs/inode.c b/ufs/inode.c
index a8bb661f..228429b1 100644
--- a/ufs/inode.c
+++ b/ufs/inode.c
@@ -431,8 +431,7 @@ read_symlink_hook (struct node *np,
bcopy ((dino (np->dn->number))->di_shortlink, buf, np->dn_stat.st_size);
- if (! diskfs_check_readonly ())
- np->dn_set_atime = 1;
+ diskfs_set_node_atime (dp);
diskfs_end_catch_exception ();
return 0;