diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2007-08-20 15:51:49 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2007-08-20 15:51:49 +0000 |
commit | db18a872a8e45962590b63314d60a745ca73f8f6 (patch) | |
tree | 660701da68344810cce0e1eefee61e1a01ca8cb8 /fatfs/dir.c | |
parent | 27f9eab1b9d97f20872fb3bea468fb61060418a7 (diff) |
[doc/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd.texi: Document diskfs_set_node_atime.
[ext2fs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
[fatfs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
[libdiskfs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* diskfs.h (diskfs_set_node_atime): New declaration.
* node-times.c (diskfs_set_node_atime): New function.
[ufs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
* inode.c (read_symlink_hook): Likewise.
Diffstat (limited to 'fatfs/dir.c')
-rw-r--r-- | fatfs/dir.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/fatfs/dir.c b/fatfs/dir.c index 78a44edc..87b9994d 100644 --- a/fatfs/dir.c +++ b/fatfs/dir.c @@ -231,8 +231,7 @@ diskfs_lookup_hard (struct node *dp, const char *name, enum lookup_type type, inum = 0; - if (!diskfs_check_readonly ()) - dp->dn_set_atime = 1; + diskfs_set_node_atime (dp); /* Start the lookup at DP->dn->dir_idx. */ idx = dp->dn->dir_idx; @@ -269,8 +268,7 @@ diskfs_lookup_hard (struct node *dp, const char *name, enum lookup_type type, } } - if (!diskfs_check_readonly ()) - dp->dn_set_atime = 1; + diskfs_set_node_atime (dp); if (diskfs_synchronous) diskfs_node_update (dp, 1); @@ -781,8 +779,7 @@ diskfs_dirempty (struct node *dp, struct protid *cred) mach_port_deallocate (mach_task_self (), memobj); assert (!err); - if (! diskfs_check_readonly ()) - dp->dn_set_atime = 1; + diskfs_set_node_atime (dp); for (curoff = buf; !hit && curoff < buf + dp->dn_stat.st_size; @@ -798,8 +795,7 @@ diskfs_dirempty (struct node *dp, struct protid *cred) hit = 1; } - if (! diskfs_check_readonly ()) - dp->dn_set_atime = 1; + diskfs_set_node_atime (dp); if (diskfs_synchronous) diskfs_node_update (dp, 1); |