summaryrefslogtreecommitdiff
path: root/libdiskfs/diskfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/diskfs.h')
-rw-r--r--libdiskfs/diskfs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index dfccf880..2390c64d 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -1046,7 +1046,9 @@ error_t
diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred);
/* If disk is not readonly and the noatime option is not enabled, set
- NP->dn_set_atime. */
+ NP->dn_set_atime. If relatime is enabled, only set NP->dn_set_atime
+ if the atime has not been updated today, or if ctime or mtime are
+ more recent than atime */
void diskfs_set_node_atime (struct node *np);
/* If NP->dn_set_ctime is set, then modify NP->dn_stat.st_ctim